summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint2/chk.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
commitd522f6eb0324008023fed0be4d046f3fc51b0356 (patch)
tree9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /usr.bin/xlint/lint2/chk.c
parent1b433a7e5b43fe0dec72e100525e31299629c117 (diff)
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'usr.bin/xlint/lint2/chk.c')
-rw-r--r--usr.bin/xlint/lint2/chk.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.bin/xlint/lint2/chk.c b/usr.bin/xlint/lint2/chk.c
index 65431ca2be3..792e9fa9f19 100644
--- a/usr.bin/xlint/lint2/chk.c
+++ b/usr.bin/xlint/lint2/chk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chk.c,v 1.7 2002/02/16 21:27:59 millert Exp $ */
+/* $OpenBSD: chk.c,v 1.8 2002/02/17 19:42:35 millert Exp $ */
/* $NetBSD: chk.c,v 1.2 1995/07/03 21:24:42 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: chk.c,v 1.7 2002/02/16 21:27:59 millert Exp $";
+static char rcsid[] = "$OpenBSD: chk.c,v 1.8 2002/02/17 19:42:35 millert Exp $";
#endif
#include <stdlib.h>
@@ -54,14 +54,12 @@ static void chkmd(hte_t *);
static void chkvtui(hte_t *, sym_t *, sym_t *);
static void chkvtdi(hte_t *, sym_t *, sym_t *);
static void chkfaui(hte_t *, sym_t *, sym_t *);
-static void chkau __P((hte_t *, int, sym_t *, sym_t *, pos_t *,
- fcall_t *, fcall_t *, type_t *, type_t *));
+static void chkau(hte_t *, int, sym_t *, sym_t *, pos_t *,
+ fcall_t *, fcall_t *, type_t *, type_t *);
static void chkrvu(hte_t *, sym_t *);
static void chkadecl(hte_t *, sym_t *, sym_t *);
-static void printflike __P((hte_t *,fcall_t *, int,
- const char *, type_t **));
-static void scanflike __P((hte_t *, fcall_t *, int,
- const char *, type_t **));
+static void printflike(hte_t *,fcall_t *, int, const char *, type_t **);
+static void scanflike(hte_t *, fcall_t *, int, const char *, type_t **);
static void badfmt(hte_t *, fcall_t *);
static void inconarg(hte_t *, fcall_t *, int);
static void tofewarg(hte_t *, fcall_t *);