diff options
author | 2003-07-22 17:18:49 +0000 | |
---|---|---|
committer | 2003-07-22 17:18:49 +0000 | |
commit | fb8601a0c8162c581d5963cbd4b9d63ffa06daec (patch) | |
tree | 8ee2054f986b55ca06c20fb78eb9d219d01a275a /usr.bin/patch/util.h | |
parent | switch to our own diff/diff3 (sdiff goes bye bye) (diff) | |
download | wireguard-openbsd-fb8601a0c8162c581d5963cbd4b9d63ffa06daec.tar.xz wireguard-openbsd-fb8601a0c8162c581d5963cbd4b9d63ffa06daec.zip |
More cleanup.
ok millert@ tedu@
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)); |