summaryrefslogtreecommitdiff
path: root/src/basic/memfd-util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-10 11:57:04 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commit3811439efe823ff3a44cbd46f979d1dd1d758f60 (patch)
treecde194d66c948b3da4d908b1052471ea68e4e060 /src/basic/memfd-util.c
parent4d42cda9dfad4528defb8907c54870e74cc1cb85 (diff)
Prep v228: Removed utmp bits. elogind does not support utmp-wtmp.
Diffstat (limited to 'src/basic/memfd-util.c')
-rw-r--r--src/basic/memfd-util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/memfd-util.c b/src/basic/memfd-util.c
index e6eb1d45f..a103a6fae 100644
--- a/src/basic/memfd-util.c
+++ b/src/basic/memfd-util.c
@@ -125,8 +125,6 @@ int memfd_get_sealed(int fd) {
return r == (F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE | F_SEAL_SEAL);
}
-/// UNNEEDED by elogind
-#if 0
int memfd_get_size(int fd, uint64_t *sz) {
struct stat stat;
int r;