diff options
| author | dholland <dholland@NetBSD.org> | 2009-06-07 18:30:39 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-06-07 18:30:39 +0000 |
| commit | 1fa8a9a633c6f43b2e4cc46b520a81da0c53b6da (patch) | |
| tree | b0f7681d34d87154ea94fbb1cb475330e7b76e57 /games/hack/alloc.c | |
| parent | 57aadb4062ffaba26b131457aac1da14d2b4a16d (diff) | |
ANSIfy function declarations. All object file diffs inspected.
Diffstat (limited to 'games/hack/alloc.c')
| -rw-r--r-- | games/hack/alloc.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/hack/alloc.c b/games/hack/alloc.c index 53dc51eb359..74eaf234bbb 100644 --- a/games/hack/alloc.c +++ b/games/hack/alloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: alloc.c,v 1.5 2003/04/02 18:36:33 jsm Exp $ */ +/* $NetBSD: alloc.c,v 1.6 2009/06/07 18:30:39 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: alloc.c,v 1.5 2003/04/02 18:36:33 jsm Exp $"); +__RCSID("$NetBSD: alloc.c,v 1.6 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -80,8 +80,7 @@ __RCSID("$NetBSD: alloc.c,v 1.5 2003/04/02 18:36:33 jsm Exp $"); from lint */ long * -alloc(n) - unsigned n; +alloc(unsigned n) { long dummy = ftell(stderr); if (n) @@ -92,8 +91,7 @@ alloc(n) #else long * -alloc(lth) - unsigned lth; +alloc(unsigned lth) { char *ptr; @@ -103,9 +101,7 @@ alloc(lth) } long * -enlarge(ptr, lth) - char *ptr; - unsigned lth; +enlarge(char *ptr, unsigned lth) { char *nptr; |
