summaryrefslogtreecommitdiffstats
path: root/common/textfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/textfile.h')
-rw-r--r--common/textfile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/textfile.h b/common/textfile.h
index 2e6d57b2..b9c01ad3 100644
--- a/common/textfile.h
+++ b/common/textfile.h
@@ -21,6 +21,9 @@
*
*/
+#ifndef __TEXTFILE_H
+#define __TEXTFILE_H
+
int create_dirs(const char *filename, const mode_t mode);
int create_file(const char *filename, const mode_t mode);
@@ -30,3 +33,5 @@ char *textfile_get(const char *pathname, const char *key);
int textfile_foreach(const char *pathname,
void (*func)(char *key, char *value, void *data), void *data);
+
+#endif /* __TEXTFILE_H */