summaryrefslogtreecommitdiff
path: root/src
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 /src
parent73843b52585d42cc1a970a1c664818ece6942e9e (diff)
memfd: rename memfd.h to memfd-util.h to avoid any confusion with any libc provided headers
Diffstat (limited to 'src')
-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
6 files changed, 5 insertions, 5 deletions
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