mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
Add header guards to the header files.
darcs-hash:20051004151139-35ec8-7af69b9d7647d145dc621f7eaea726e729cff554.gz
This commit is contained in:
7
sanity.h
7
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
|
||||
|
||||
Reference in New Issue
Block a user