memfd: rename memfd.h to memfd-util.h to avoid any confusion with any libc provided...
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Oct 2014 17:32:37 +0000 (18:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Oct 2014 17:32:37 +0000 (18:32 +0100)
Makefile.am
src/journal/journal-send.c
src/journal/journald-native.c
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/test-bus-zero-copy.c
src/shared/memfd-util.c [moved from src/shared/memfd.c with 99% similarity]
src/shared/memfd-util.h [moved from src/shared/memfd.h with 100% similarity]

index c80d25d..69d598b 100644 (file)
@@ -881,8 +881,8 @@ libsystemd_shared_la_SOURCES = \
        src/shared/copy.h \
        src/shared/base-filesystem.c \
        src/shared/base-filesystem.h \
-       src/shared/memfd.c \
-       src/shared/memfd.h \
+       src/shared/memfd-util.c \
+       src/shared/memfd-util.h \
        src/shared/uid-range.c \
        src/shared/uid-range.h \
        src/shared/nss-util.h
index 0ee83cd..887b957 100644 (file)
@@ -32,7 +32,7 @@
 #include "sd-journal.h"
 #include "util.h"
 #include "socket-util.h"
-#include "memfd.h"
+#include "memfd-util.h"
 
 #define SNDBUF_SIZE (8*1024*1024)
 
index d3735ec..ace8d5c 100644 (file)
@@ -33,7 +33,7 @@
 #include "journald-console.h"
 #include "journald-syslog.h"
 #include "journald-wall.h"
-#include "memfd.h"
+#include "memfd-util.h"
 
 bool valid_user_field(const char *p, size_t l, bool allow_protected) {
         const char *a;
index 0eea32b..be36d9f 100644 (file)
@@ -28,7 +28,7 @@
 #include "strv.h"
 #include "time-util.h"
 #include "cgroup-util.h"
-#include "memfd.h"
+#include "memfd-util.h"
 
 #include "sd-bus.h"
 #include "bus-message.h"
index e3010fb..e938a48 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "util.h"
 #include "log.h"
-#include "memfd.h"
+#include "memfd-util.h"
 
 #include "sd-bus.h"
 #include "bus-message.h"
similarity index 99%
rename from src/shared/memfd.c
rename to src/shared/memfd-util.c
index b558177..21ecf4b 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "util.h"
 #include "bus-label.h"
-#include "memfd.h"
+#include "memfd-util.h"
 #include "utf8.h"
 #include "missing.h"
 
similarity index 100%
rename from src/shared/memfd.h
rename to src/shared/memfd-util.h