chiark / gitweb /
Prep v228: Removed utmp bits. elogind does not support utmp-wtmp.
[elogind.git] / src / basic / memfd-util.c
index e6eb1d45fc5d2f46a5c16582213d2c41178c63fa..a103a6fae0535601e8b3ab5db027f22c4f5b5e82 100644 (file)
@@ -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;