diff options
Diffstat (limited to 'x2p/util.h')
-rw-r--r-- | x2p/util.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/x2p/util.h b/x2p/util.h index e76a6120a0..8ca913b9a7 100644 --- a/x2p/util.h +++ b/x2p/util.h @@ -20,18 +20,15 @@ int eaccess(); #endif -char *getwd(); -int makedir(); - char * cpy2 ( char *to, char *from, int delim ); char * cpytill ( char *to, char *from, int delim ); void growstr ( char **strptr, int *curlen, int newlen ); char * instr ( char *big, char *little ); char * safecpy ( char *to, char *from, int len ); char * savestr ( char *str ); -void croak ( char *pat, ... ); -void fatal ( char *pat, ... ); -void warn ( char *pat, ... ); +void croak ( const char *pat, ... ); +void fatal ( const char *pat, ... ); +void warn ( const char *pat, ... ); int prewalk ( int numit, int level, int node, int *numericptr ); Malloc_t safemalloc (MEM_SIZE nbytes); |