X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Ffileio.h;h=b2f1b0dc6aeab85397b61914e7988b6540d5ff8c;hp=f45b0d54a64edf123178ab93512d27128de4dd0d;hb=c5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe;hpb=756c392103bc01d409c1760146ac2df7dd8f8ede diff --git a/src/basic/fileio.h b/src/basic/fileio.h index f45b0d54a..b2f1b0dc6 100644 --- a/src/basic/fileio.h +++ b/src/basic/fileio.h @@ -51,8 +51,7 @@ int load_env_file(FILE *f, const char *fname, const char *separator, char ***l); int load_env_file_pairs(FILE *f, const char *fname, const char *separator, char ***l); int write_env_file(const char *fname, char **l); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int executable_is_script(const char *path, char **interpreter); #endif // 0 int get_proc_field(const char *filename, const char *pattern, const char *terminator, char **field); @@ -60,8 +59,7 @@ int get_proc_field(const char *filename, const char *pattern, const char *termin DIR *xopendirat(int dirfd, const char *name, int flags); int search_and_fopen(const char *path, const char *mode, const char *root, const char **search, FILE **_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); #endif // 0 #define FOREACH_LINE(line, f, on_error) \ @@ -77,15 +75,13 @@ int fflush_and_check(FILE *f); int fopen_temporary(const char *path, FILE **_f, char **_temp_path); int mkostemp_safe(char *pattern, int flags); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int open_tmpfile(const char *path, int flags); #endif // 0 int tempfn_xxxxxx(const char *p, const char *extra, char **ret); int tempfn_random(const char *p, const char *extra, char **ret); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int tempfn_random_child(const char *p, const char *extra, char **ret); int write_timestamp_file_atomic(const char *fn, usec_t n);