93318b47b3
Made some functions static Removed unneccessary buffer Increased size of some buffers that could overflow
20 lines
641 B
C
20 lines
641 B
C
/* $NetBSD: util.h,v 1.8 2002/03/16 22:36:42 kristerw Exp $ */
|
|
|
|
int move_file(char *, char *);
|
|
void copy_file(char *, char *);
|
|
void *xmalloc(size_t);
|
|
char *xstrdup(const char *);
|
|
char *savestr(char *);
|
|
void say(const char *, ...)
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
|
void fatal(const char *, ...)
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
|
void pfatal(const char *, ...)
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
|
void ask(const char *, ...)
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
|
void set_signals(int);
|
|
void ignore_signals(void);
|
|
void makedirs(char *, bool);
|
|
char *fetchname(char *, int, int);
|