From 7297697c324a6113371fd60b3668320e5a4817a7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 9 Mar 2006 19:08:49 +0000 Subject: Small cleanup to the common functions --- common/textfile.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/textfile.h') 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 */ -- cgit