summaryrefslogtreecommitdiff
path: root/usr.bin/xlint/lint2/mem2.c
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-11-20 17:09:56 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-11-20 17:09:56 +0000
commit2d3ff7614dff2c02b923d828ca4d6f0e6141bd1a (patch)
tree7f08c0b3768b030051e347112629cadf41b8b630 /usr.bin/xlint/lint2/mem2.c
parent0207ac41b2a68ff8abee36cf33e91697288a0533 (diff)
KNF. OK kjell, millert
Diffstat (limited to 'usr.bin/xlint/lint2/mem2.c')
-rw-r--r--usr.bin/xlint/lint2/mem2.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/xlint/lint2/mem2.c b/usr.bin/xlint/lint2/mem2.c
index 8b87e6cd282..687729b6c8f 100644
--- a/usr.bin/xlint/lint2/mem2.c
+++ b/usr.bin/xlint/lint2/mem2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem2.c,v 1.3 2001/05/11 16:06:57 art Exp $ */
+/* $OpenBSD: mem2.c,v 1.4 2005/11/20 17:09:55 cloder Exp $ */
/* $NetBSD: mem2.c,v 1.3 1995/10/02 17:27:11 jpo Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: mem2.c,v 1.3 2001/05/11 16:06:57 art Exp $";
+static char rcsid[] = "$OpenBSD: mem2.c,v 1.4 2005/11/20 17:09:55 cloder Exp $";
#endif
#include <sys/param.h>
@@ -55,7 +55,7 @@ static size_t nxtfree;
static void *mbuf;
void
-initmem()
+initmem(void)
{
int pgsz;
@@ -71,8 +71,7 @@ initmem()
* need never to be freed.
*/
void *
-xalloc(sz)
- size_t sz;
+xalloc(size_t sz)
{
void *ptr;
int prot, flags;