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,13 @@
Prototypes for various functions, mostly string utilities, that are used by most parts of fish.
*/
#ifndef FISH_COMMON_H
#define FISH_COMMON_H
#include <wchar.h>
#include <termios.h>
#include "util.h"
/**
Under curses, tputs expects an int (*func)(char) as its last parameter, but in ncurses, tputs expects a int (*func)(int) as its last parameter. tputs_arg_t is defined to always be what tputs expects. Hopefully.
@@ -247,4 +254,6 @@ wchar_t *unescape( wchar_t * in, int escape_special );
void block();
void unblock();
#endif
int acquire_lock_file( const char *lockfile, const int timeout, int force );