diff options
Diffstat (limited to 'usr.bin/patch/util.h')
-rw-r--r-- | usr.bin/patch/util.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/patch/util.h b/usr.bin/patch/util.h index 3b81cd8da68..4f0d42c10cd 100644 --- a/usr.bin/patch/util.h +++ b/usr.bin/patch/util.h @@ -1,18 +1,18 @@ -/* $OpenBSD: util.h,v 1.6 2003/07/21 14:32:21 deraadt Exp $ */ - -/* and for those machine that can't handle a variable argument list */ - -EXT char serrbuf[BUFSIZ];/* buffer for stderr */ +/* $OpenBSD: util.h,v 1.7 2003/07/22 17:18:49 otto Exp $ */ char *fetchname(char *, int, int); int move_file(char *, char *); void copy_file(char *, char *); void say(char *, ...); -void fatal(char *, ...); -void pfatal(char *, ...); -void ask(char *, ...); +void fatal(char *, ...) + __attribute__((__format__(__printf__, 1, 2))); +void pfatal(char *, ...) + __attribute__((__format__(__printf__, 1, 2))); +void ask(char *, ...) + __attribute__((__format__(__printf__, 1, 2))); char *savestr(char *); void set_signals(int); void ignore_signals(void); void makedirs(char *, bool); void version(void); +void my_exit(int) __attribute__((noreturn)); |