summaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-22 17:18:50 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-22 17:18:50 +0000
commit0d02da7d3ba5afc8fa7d15a93e9c36acebd36055 (patch)
tree1168dc98a7158f9329001ae3fea41b6be51ea8ea /usr.bin/patch/util.h
parentabed2307ad3d6f09d84e8980716b09c12f6d8fc7 (diff)
More cleanup.
ok millert@ tedu@
Diffstat (limited to 'usr.bin/patch/util.h')
-rw-r--r--usr.bin/patch/util.h16
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));