summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metaentry.h4
-rw-r--r--metastore.h5
-rw-r--r--utils.h4
3 files changed, 13 insertions, 0 deletions
diff --git a/metaentry.h b/metaentry.h
index bd80bc4..09a58a9 100644
--- a/metaentry.h
+++ b/metaentry.h
@@ -18,6 +18,9 @@
*
*/
+#ifndef METAENTRY_H
+#define METAENTRY_H
+
#include <stdbool.h>
#include "settings.h"
@@ -90,3 +93,4 @@ void mentries_compare(struct metahash *mhashreal,
int cmp),
msettings *st);
+#endif /* METAENTRY_H */
diff --git a/metastore.h b/metastore.h
index 7bc7868..9da0f00 100644
--- a/metastore.h
+++ b/metastore.h
@@ -18,6 +18,9 @@
*
*/
+#ifndef METASTORE_H
+#define METASTORE_H
+
/* Each file starts with SIGNATURE and VERSION */
#define SIGNATURE "MeTaSt00r3"
#define SIGNATURELEN 10
@@ -32,3 +35,5 @@
#define ACTION_SAVE 0x02
#define ACTION_APPLY 0x04
#define ACTION_HELP 0x08
+
+#endif /* METASTORE_H */
diff --git a/utils.h b/utils.h
index a5f8b54..d19c3ae 100644
--- a/utils.h
+++ b/utils.h
@@ -18,6 +18,9 @@
*
*/
+#ifndef UTILS_H
+#define UTILS_H
+
/* For uint64_t */
#include <stdint.h>
/* For ssize_t */
@@ -85,3 +88,4 @@ struct passwd *xgetpwnam(const char *name);
/* Caching version of getpwuid */
struct passwd *xgetpwuid(uid_t uid);
+#endif /* UTILS_H */