memfd: rename memfd.h to memfd-util.h to avoid any confusion with any libc provided headers

This commit is contained in:
Lennart Poettering
2014-10-30 18:32:37 +01:00
parent 73843b5258
commit a09abc4ae0
7 changed files with 7 additions and 7 deletions

View 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

View 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)

View 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;

View 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"

View 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"

View 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"