diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-09 19:08:49 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-09 19:08:49 +0000 |
commit | 7297697c324a6113371fd60b3668320e5a4817a7 (patch) | |
tree | 94860b95ad4b13ee0c26ccf5b189e4a8d322e552 /common/textfile.h | |
parent | 9ebce18255f79c4aea900840a28ff6393ccea8d8 (diff) |
Small cleanup to the common functions
Diffstat (limited to 'common/textfile.h')
-rw-r--r-- | common/textfile.h | 5 |
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 */ |