chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Two small cleanups
[elogind.git]
/
src
/
basic
/
socket-util.c
diff --git
a/src/basic/socket-util.c
b/src/basic/socket-util.c
index a983c67a826a0ddcd2a49ed09f11177669b764f4..1d43a48aea88d4980154b79b6e0c3ccd03cd63b0 100644
(file)
--- a/
src/basic/socket-util.c
+++ b/
src/basic/socket-util.c
@@
-33,7
+33,7
@@
#include "alloc-util.h"
#include "fd-util.h"
#include "fileio.h"
#include "alloc-util.h"
#include "fd-util.h"
#include "fileio.h"
-#include "format
s
-util.h"
+#include "format-util.h"
#include "log.h"
#include "macro.h"
#include "missing.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;
}
return NULL;
}
+#if 0 /// UNNEEDED by elogind
int socket_ioctl_fd(void) {
int fd;
int socket_ioctl_fd(void) {
int fd;
@@
-1083,3
+1084,4
@@
int socket_ioctl_fd(void) {
return fd;
}
return fd;
}
+#endif // 0