summaryrefslogtreecommitdiff
path: root/src/basic/memfd-util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-11 17:28:10 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commit68def6bc80ba50ed3b3658d00799a3ec295c4d7a (patch)
tree92a7721824f71dfcaf856da0c8699d0c72515b58 /src/basic/memfd-util.c
parentc5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe (diff)
Prep v228: Condense elogind source masks (2/5)
Diffstat (limited to 'src/basic/memfd-util.c')
-rw-r--r--src/basic/memfd-util.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/basic/memfd-util.c b/src/basic/memfd-util.c
index a103a6fae..1f92b681f 100644
--- a/src/basic/memfd-util.c
+++ b/src/basic/memfd-util.c
@@ -72,8 +72,7 @@ int memfd_new(const char *name) {
return fd;
}
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int memfd_map(int fd, uint64_t offset, size_t size, void **p) {
void *q;
int sealed;
@@ -111,8 +110,7 @@ int memfd_set_sealed(int fd) {
return 0;
}
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int memfd_get_sealed(int fd) {
int r;
@@ -153,8 +151,7 @@ int memfd_set_size(int fd, uint64_t sz) {
return 0;
}
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int memfd_new_and_map(const char *name, size_t sz, void **p) {
_cleanup_close_ int fd = -1;
int r;