aboutsummaryrefslogtreecommitdiffhomepage
path: root/sanity.h
diff options
context:
space:
mode:
authorGravatar James Vega <jamessan@jamessan.com>2005-10-05 01:11:39 +1000
committerGravatar James Vega <jamessan@jamessan.com>2005-10-05 01:11:39 +1000
commite27664b13b11070e561fdd313ca0a5b9950c2c46 (patch)
treeef35a6b3fb51a462076e626c15ba1d3714ce0177 /sanity.h
parentc361d8564c6dc4b142d348b0f8053a9384b8e451 (diff)
Add header guards to the header files.
darcs-hash:20051004151139-35ec8-7af69b9d7647d145dc621f7eaea726e729cff554.gz
Diffstat (limited to 'sanity.h')
-rw-r--r--sanity.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sanity.h b/sanity.h
index 5cb22353..0ca8cd2a 100644
--- a/sanity.h
+++ b/sanity.h
@@ -2,6 +2,11 @@
Prototypes for functions for performing sanity checks on the program state
*/
+#ifndef FISH_SANITY_H
+#define FISH_SANITY_H
+
+#include <wchar.h>
+
/**
Call this function to tell the program it is not in a sane state.
*/
@@ -20,3 +25,5 @@ int sanity_check();
\param null_ok Wheter the pointer is allowed to point to 0
*/
void validate_pointer( const void *ptr, const wchar_t *err, int null_ok );
+
+#endif