summaryrefslogtreecommitdiff
path: root/set.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2013-10-24 15:02:52 -0700
committerEric Anholt <eric@anholt.net>2013-10-25 15:01:57 -0700
commitdd09488648767bcda8d75f417baca1f7b7940ff1 (patch)
treed2b555190b42da2116d0811abb0dee8ed9faa521 /set.h
parentf1994332b721c26f8722cee660ddc62e9ff48133 (diff)
Add multiple-inclusion guards for header files.
As is standard practice.
Diffstat (limited to 'set.h')
-rw-r--r--set.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/set.h b/set.h
index 6981eeb..a3d1eba 100644
--- a/set.h
+++ b/set.h
@@ -25,6 +25,9 @@
*
*/
+#ifndef SET_H
+#define SET_H
+
#include <inttypes.h>
struct set_entry {
@@ -65,3 +68,5 @@ set_next_entry(struct set *set, struct set_entry *entry);
struct set_entry *
set_random_entry(struct set *set,
int (*predicate)(struct set_entry *entry));
+
+#endif