summaryrefslogtreecommitdiff
path: root/usr.bin/patch/util.h
diff options
context:
space:
mode:
authorkristerw <kristerw@NetBSD.org>2002-03-08 21:57:33 +0000
committerkristerw <kristerw@NetBSD.org>2002-03-08 21:57:33 +0000
commit8bcbaa7bc893540be6bf045238abd546a41d67c3 (patch)
tree9c48b11d768ceb2ed03d7360fcf1a806e805c3f7 /usr.bin/patch/util.h
parentce635a702a6fd5a7f7759cb6d3ae578dc63c9dbc (diff)
Ansify
Remove 'register' Make local functions static. Remove most '#ifndef lint'
Diffstat (limited to 'usr.bin/patch/util.h')
-rw-r--r--usr.bin/patch/util.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/patch/util.h b/usr.bin/patch/util.h
index 4a2ec4c2e71..11bc0fc6e68 100644
--- a/usr.bin/patch/util.h
+++ b/usr.bin/patch/util.h
@@ -1,4 +1,4 @@
-/* $NetBSD: util.h,v 1.5 2000/10/11 14:46:15 is Exp $ */
+/* $NetBSD: util.h,v 1.6 2002/03/08 21:57:33 kristerw Exp $ */
/* and for those machine that can't handle a variable argument list */
@@ -68,18 +68,18 @@
EXT char serrbuf[BUFSIZ]; /* buffer for stderr */
-int move_file __P((char *, char *));
-void copy_file __P((char *, char *));
-char *savestr __P((Reg1 char *));
-void say __P((const char *, ...))
+int move_file(char *, char *);
+void copy_file(char *, char *);
+char *savestr(char *);
+void say(const char *, ...)
__attribute__((__format__(__printf__, 1, 2)));
-void fatal __P((const char *, ...))
+void fatal(const char *, ...)
__attribute__((__format__(__printf__, 1, 2)));
-void pfatal __P((const char *, ...))
+void pfatal(const char *, ...)
__attribute__((__format__(__printf__, 1, 2)));
-void ask __P((const char *, ...))
+void ask(const char *, ...)
__attribute__((__format__(__printf__, 1, 2)));
-void set_signals __P((int));
-void ignore_signals __P((void));
-void makedirs __P((Reg1 char *, bool));
-char *fetchname __P((char *, int, int));
+void set_signals(int);
+void ignore_signals(void);
+void makedirs(char *, bool);
+char *fetchname(char *, int, int);