mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
memfd: rename memfd.h to memfd-util.h to avoid any confusion with any libc provided headers
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "util.h"
|
||||
#include "bus-label.h"
|
||||
#include "memfd.h"
|
||||
#include "memfd-util.h"
|
||||
#include "utf8.h"
|
||||
#include "missing.h"
|
||||
|
||||
Reference in New Issue
Block a user