chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v221: Update and clean up build system to sync with upstream
[elogind.git]
/
src
/
basic
/
memfd-util.c
diff --git
a/src/shared/memfd-util.c
b/src/basic/memfd-util.c
similarity index 98%
rename from
src/shared/memfd-util.c
rename to
src/basic/memfd-util.c
index e99a738e1f88a79af71c8ad899c556da5fdd2b9c..b6dc19082864c647189c5181fa52df99bbedbe81 100644
(file)
--- a/
src/shared/memfd-util.c
+++ b/
src/basic/memfd-util.c
@@
-145,6
+145,8
@@
int memfd_set_size(int fd, uint64_t sz) {
return 0;
}
+/// UNNEEDED by elogind
+#if 0
int memfd_new_and_map(const char *name, size_t sz, void **p) {
_cleanup_close_ int fd = -1;
int r;
@@
-169,3
+171,4
@@
int memfd_new_and_map(const char *name, size_t sz, void **p) {
return r;
}
+#endif // 0