chiark / gitweb /
Prep v239: Unmasked mkdtemp_malloc(), it is needed to test inotify.
[elogind.git] / src / basic / fileio.c
index 1cee6d49594e7f5f88730eba9234cfcb77040de8..7b1014b1db081e0d0190954fba332b760ff808d0 100644 (file)
@@ -1564,6 +1564,7 @@ int read_nul_string(FILE *f, char **ret) {
 
         return 0;
 }
+#endif // 0
 
 int mkdtemp_malloc(const char *template, char **ret) {
         _cleanup_free_ char *p = NULL;
@@ -1591,7 +1592,6 @@ int mkdtemp_malloc(const char *template, char **ret) {
         *ret = TAKE_PTR(p);
         return 0;
 }
-#endif // 0
 
 DEFINE_TRIVIAL_CLEANUP_FUNC(FILE*, funlockfile);