summaryrefslogtreecommitdiff
path: root/src/basic/fileio-label.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-11 17:05:07 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commit2705eaf36d46539397571886ba6ccd0045ef3e9b (patch)
treecd6e5e0a08aedf5373fd13f3f7c98616f7009856 /src/basic/fileio-label.h
parent0d8d17b410396e92d931465768b22349aa6679e4 (diff)
Prep v228: Substitute declaration masks (1/4)
Although it looks very ugly, substitute all declaration masks of the form: // UNNEEDED type foo(...); with: /// UNNEEDED by elogind #if 0 type foo(...); #endif // 0 to make future merging of upstream pathes easier, as the relevant lines themselves are not changed any more.
Diffstat (limited to 'src/basic/fileio-label.h')
-rw-r--r--src/basic/fileio-label.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/basic/fileio-label.h b/src/basic/fileio-label.h
index 81f62050b..9fef650ee 100644
--- a/src/basic/fileio-label.h
+++ b/src/basic/fileio-label.h
@@ -26,6 +26,10 @@
#include "fileio.h"
int write_string_file_atomic_label(const char *fn, const char *line);
-// UNNEEDED int write_env_file_label(const char *fname, char **l);
-// UNNEEDED int fopen_temporary_label(const char *target,
-// UNNEEDED const char *path, FILE **f, char **temp_path);
+
+/// UNNEEDED by elogind
+#if 0
+int write_env_file_label(const char *fname, char **l);
+int fopen_temporary_label(const char *target,
+ const char *path, FILE **f, char **temp_path);
+#endif // 0