summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint1/mem1.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.bin/xlint/lint1/mem1.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.bin/xlint/lint1/mem1.c')
-rw-r--r--usr.bin/xlint/lint1/mem1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/xlint/lint1/mem1.c b/usr.bin/xlint/lint1/mem1.c
index 0e498a85c2a..e2f28521a63 100644
--- a/usr.bin/xlint/lint1/mem1.c
+++ b/usr.bin/xlint/lint1/mem1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem1.c,v 1.3 2001/05/11 16:06:06 art Exp $ */
+/* $OpenBSD: mem1.c,v 1.4 2002/02/16 21:27:59 millert Exp $ */
/* $NetBSD: mem1.c,v 1.2 1995/07/03 21:24:25 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: mem1.c,v 1.3 2001/05/11 16:06:06 art Exp $";
+static char rcsid[] = "$OpenBSD: mem1.c,v 1.4 2002/02/16 21:27:59 millert Exp $";
#endif
#include <sys/types.h>
@@ -58,7 +58,7 @@ typedef struct fn {
static fn_t *fnames;
-static fn_t *srchfn __P((const char *, size_t));
+static fn_t *srchfn(const char *, size_t);
/*
* Look for a Filename of length l.
@@ -164,9 +164,9 @@ static mbl_t *frmblks;
/* length of new allocated memory blocks */
static size_t mblklen;
-static void *xgetblk __P((mbl_t **, size_t));
-static void xfreeblk __P((mbl_t **));
-static mbl_t *xnewblk __P((void));
+static void *xgetblk(mbl_t **, size_t);
+static void xfreeblk(mbl_t **);
+static mbl_t *xnewblk(void);
static mbl_t *
xnewblk()