Add header guards to the header files.

darcs-hash:20051004151139-35ec8-7af69b9d7647d145dc621f7eaea726e729cff554.gz
This commit is contained in:
James Vega
2005-10-05 01:11:39 +10:00
parent c361d8564c
commit e27664b13b
27 changed files with 191 additions and 14 deletions

View File

@@ -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