X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Ffileio.c;h=388bc1825eddfc7800b4899347fe9a30c7776eae;hp=4adae102bbf0060a5ee95f9220ebcd43b1117d19;hb=c5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe;hpb=756c392103bc01d409c1760146ac2df7dd8f8ede diff --git a/src/basic/fileio.c b/src/basic/fileio.c index 4adae102b..388bc1825 100644 --- a/src/basic/fileio.c +++ b/src/basic/fileio.c @@ -813,8 +813,7 @@ int write_env_file(const char *fname, char **l) { return r; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int executable_is_script(const char *path, char **interpreter) { int r; _cleanup_free_ char *line = NULL; @@ -997,8 +996,7 @@ int search_and_fopen(const char *path, const char *mode, const char *root, const return search_and_fopen_internal(path, mode, root, copy, _f); } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int search_and_fopen_nulstr(const char *path, const char *mode, const char *root, const char *search, FILE **_f) { _cleanup_strv_free_ char **s = NULL; @@ -1083,8 +1081,7 @@ int mkostemp_safe(char *pattern, int flags) { return fd; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int open_tmpfile(const char *path, int flags) { char *p; int fd; @@ -1184,8 +1181,7 @@ int tempfn_random(const char *p, const char *extra, char **ret) { return 0; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int tempfn_random_child(const char *p, const char *extra, char **ret) { char *t, *x; uint64_t u;