chiark / gitweb /
Prep v228: Clean up the new src/basic/*-util-[hc] files:
[elogind.git] / src / basic / xattr-util.c
index ddffd016b105842650cb7f122a76251b39977a67..d440b3cd04cc838389bef1799f9e904923315496 100644 (file)
@@ -98,6 +98,8 @@ int fgetxattr_malloc(int fd, const char *name, char **value) {
         }
 }
 
+/// UNNEEDED by elogind
+#if 0
 ssize_t fgetxattrat_fake(int dirfd, const char *filename, const char *attribute, void *value, size_t size, int flags) {
         char fn[strlen("/proc/self/fd/") + DECIMAL_STR_MAX(int) + 1];
         _cleanup_close_ int fd = -1;
@@ -118,8 +120,6 @@ ssize_t fgetxattrat_fake(int dirfd, const char *filename, const char *attribute,
         return l;
 }
 
-/// UNNEEDED by elogind
-#if 0
 static int parse_crtime(le64_t le, usec_t *usec) {
         uint64_t u;