chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v233.2: Mask unneeded functions and definitions in src/basic
[elogind.git]
/
src
/
basic
/
missing.h
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index 5c6d8a98cca0c77d2231b83b24c9cda7a9abd488..b1a512eb4a33f489f2c1a2d08ac5610b65365e29 100644
(file)
--- a/
src/basic/missing.h
+++ b/
src/basic/missing.h
@@
-54,6
+54,7
@@
#include <linux/btrfs.h>
#endif
#include <linux/btrfs.h>
#endif
+#if 0 /// UNNEEDED by elogind
#ifdef HAVE_LINUX_VM_SOCKETS_H
#include <linux/vm_sockets.h>
#else
#ifdef HAVE_LINUX_VM_SOCKETS_H
#include <linux/vm_sockets.h>
#else
@@
-70,6
+71,7
@@
struct sockaddr_vm {
sizeof(unsigned int)];
};
#endif /* !HAVE_LINUX_VM_SOCKETS_H */
sizeof(unsigned int)];
};
#endif /* !HAVE_LINUX_VM_SOCKETS_H */
+#endif // 0
#include "macro.h"
#include "macro.h"
@@
-1155,6
+1157,7
@@
typedef int32_t key_serial_t;
#define IFA_F_MCAUTOJOIN 0x400
#endif
#define IFA_F_MCAUTOJOIN 0x400
#endif
+#if 0 /// UNNEEDED by elogind
#ifndef HAVE_STRUCT_ETHTOOL_LINK_SETTINGS
#define ETHTOOL_GLINKSETTINGS 0x0000004c /* Get ethtool_link_settings */
#ifndef HAVE_STRUCT_ETHTOOL_LINK_SETTINGS
#define ETHTOOL_GLINKSETTINGS 0x0000004c /* Get ethtool_link_settings */
@@
-1181,6
+1184,7
@@
struct ethtool_link_settings {
};
#endif
};
#endif
+#endif // 0
#endif
#endif