chiark / gitweb /
Two small cleanups
[elogind.git] / src / basic / socket-util.c
index a983c67a826a0ddcd2a49ed09f11177669b764f4..1d43a48aea88d4980154b79b6e0c3ccd03cd63b0 100644 (file)
@@ -33,7 +33,7 @@
 #include "alloc-util.h"
 #include "fd-util.h"
 #include "fileio.h"
-#include "formats-util.h"
+#include "format-util.h"
 #include "log.h"
 #include "macro.h"
 #include "missing.h"
@@ -1067,6 +1067,7 @@ struct cmsghdr* cmsg_find(struct msghdr *mh, int level, int type, socklen_t leng
         return NULL;
 }
 
+#if 0 /// UNNEEDED by elogind
 int socket_ioctl_fd(void) {
         int fd;
 
@@ -1083,3 +1084,4 @@ int socket_ioctl_fd(void) {
 
         return fd;
 }
+#endif // 0