summaryrefslogtreecommitdiff
path: root/src/basic/fileio.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2018-08-23 08:48:48 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commita116fae17a845c305cd2da0c1ecdc3f406ceb8db (patch)
tree5aa37cae46d1b783daeb3e5a5f9bb35b9bb6b948 /src/basic/fileio.c
parented634df06b99d6f1eee06ba2a241f719393c0082 (diff)
Prep v239: Unmasked mkdtemp_malloc(), it is needed to test inotify.
Diffstat (limited to 'src/basic/fileio.c')
-rw-r--r--src/basic/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.c b/src/basic/fileio.c
index 1cee6d495..7b1014b1d 100644
--- a/src/basic/fileio.c
+++ b/src/basic/fileio.c
@@ -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);