=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/patch/util.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/patch/util.h 2003/07/21 14:32:21 1.6 +++ src/usr.bin/patch/util.h 2003/07/22 17:18:49 1.7 @@ -1,18 +1,18 @@ -/* $OpenBSD: util.h,v 1.6 2003/07/21 14:32:21 deraadt Exp $ */ +/* $OpenBSD: util.h,v 1.7 2003/07/22 17:18:49 otto Exp $ */ -/* and for those machine that can't handle a variable argument list */ - -EXT char serrbuf[BUFSIZ];/* buffer for stderr */ - 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));