summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-30 18:32:37 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-30 18:32:37 +0100
commita09abc4ae0bdc0200324eaa0416f23ff2170ec4e (patch)
treeecd669c45e514e889a972d5f827edc4e2fde2f34
parent73843b52585d42cc1a970a1c664818ece6942e9e (diff)
memfd: rename memfd.h to memfd-util.h to avoid any confusion with any libc provided headers
-rw-r--r--Makefile.am4
-rw-r--r--src/journal/journal-send.c2
-rw-r--r--src/journal/journald-native.c2
-rw-r--r--src/libsystemd/sd-bus/bus-message.c2
-rw-r--r--src/libsystemd/sd-bus/test-bus-zero-copy.c2
-rw-r--r--src/shared/memfd-util.c (renamed from src/shared/memfd.c)2
-rw-r--r--src/shared/memfd-util.h (renamed from src/shared/memfd.h)0
7 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index c80d25df29..69d598b4d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/src/journal/journal-send.c b/src/journal/journal-send.c
index 0ee83cdb77..887b957c4d 100644
--- a/src/journal/journal-send.c
+++ b/src/journal/journal-send.c
@@ -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)
diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c
index d3735ec73c..ace8d5cbfd 100644
--- a/src/journal/journald-native.c
+++ b/src/journal/journald-native.c
@@ -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;
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index 0eea32b649..be36d9f417 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -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"
diff --git a/src/libsystemd/sd-bus/test-bus-zero-copy.c b/src/libsystemd/sd-bus/test-bus-zero-copy.c
index e3010fbf7e..e938a48b63 100644
--- a/src/libsystemd/sd-bus/test-bus-zero-copy.c
+++ b/src/libsystemd/sd-bus/test-bus-zero-copy.c
@@ -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"
diff --git a/src/shared/memfd.c b/src/shared/memfd-util.c
index b558177951..21ecf4b32b 100644
--- a/src/shared/memfd.c
+++ b/src/shared/memfd-util.c
@@ -31,7 +31,7 @@
#include "util.h"
#include "bus-label.h"
-#include "memfd.h"
+#include "memfd-util.h"
#include "utf8.h"
#include "missing.h"
diff --git a/src/shared/memfd.h b/src/shared/memfd-util.h
index cf588fe02f..cf588fe02f 100644
--- a/src/shared/memfd.h
+++ b/src/shared/memfd-util.h