diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-13 07:42:15 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | c12afe04a4fc8f18b0d4e280f973d1cd826e82e0 (patch) | |
tree | 8f830580d6e6fe0cb620ffd4d4b22d7dd8438833 /src | |
parent | 1a4e0d8fd32ea824b5ea8462a728129887a4e7ae (diff) |
Prep v228: Remove left-over BTRFS bits.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/missing.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index d539ed00e..a9871f680 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -38,6 +38,8 @@ #include <sys/syscall.h> #include <unistd.h> +#include "musl_missing.h" + #ifdef HAVE_AUDIT #include <libaudit.h> #endif @@ -257,6 +259,7 @@ static inline int getrandom(void *buffer, size_t count, unsigned flags) { #define BTRFS_QGROUP_LEVEL_SHIFT 48 #endif +#if 0 /// UNNEEDED by elogind (It can not support BTRFS at all) #ifndef HAVE_LINUX_BTRFS_H struct btrfs_ioctl_vol_args { int64_t fd; @@ -507,6 +510,8 @@ struct btrfs_ioctl_quota_ctl_args { #define BTRFS_SUPER_MAGIC 0x9123683E #endif +#endif // 0 + #ifndef CGROUP_SUPER_MAGIC #define CGROUP_SUPER_MAGIC 0x27e0eb #endif @@ -1024,8 +1029,11 @@ static inline pid_t raw_getpid(void) { #endif } +#if 0 /// UNNEEDED by elogind + #if !HAVE_DECL_RENAMEAT2 + #ifndef __NR_renameat2 # if defined __x86_64__ # define __NR_renameat2 316 @@ -1125,3 +1133,4 @@ static inline key_serial_t request_key(const char *type, const char *description #ifndef KEY_SPEC_USER_KEYRING #define KEY_SPEC_USER_KEYRING -4 #endif +#endif // 0 |