diff options
author | dholland <dholland@NetBSD.org> | 2009-06-04 05:27:04 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-06-04 05:27:04 +0000 |
commit | 7e3d1e2e5930a9b9e295b12b5a0bff07e8cd85b3 (patch) | |
tree | 94daf6108bb82b5435f9fab49b6e7ed316698e7b /gomoku/stoc.c | |
parent | b384b7ee2511f7ac65ac137707ffa6ad63d1e634 (diff) | |
download | bsdgames-darwin-7e3d1e2e5930a9b9e295b12b5a0bff07e8cd85b3.tar.gz bsdgames-darwin-7e3d1e2e5930a9b9e295b12b5a0bff07e8cd85b3.tar.zst bsdgames-darwin-7e3d1e2e5930a9b9e295b12b5a0bff07e8cd85b3.zip |
ANSIfy function declarations.x
Diffstat (limited to 'gomoku/stoc.c')
-rw-r--r-- | gomoku/stoc.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gomoku/stoc.c b/gomoku/stoc.c index 48430c83..5311fb22 100644 --- a/gomoku/stoc.c +++ b/gomoku/stoc.c @@ -1,4 +1,4 @@ -/* $NetBSD: stoc.c,v 1.9 2005/04/19 20:17:12 rillig Exp $ */ +/* $NetBSD: stoc.c,v 1.10 2009/06/04 05:27:04 dholland Exp $ */ /* * Copyright (c) 1994 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94"; #else -__RCSID("$NetBSD: stoc.c,v 1.9 2005/04/19 20:17:12 rillig Exp $"); +__RCSID("$NetBSD: stoc.c,v 1.10 2009/06/04 05:27:04 dholland Exp $"); #endif #endif /* not lint */ @@ -63,8 +63,7 @@ static const struct mvstr mv[] = { * Turn the spot number form of a move into the character form. */ const char * -stoc(s) - int s; +stoc(int s) { static char buf[32]; int i; @@ -80,8 +79,7 @@ stoc(s) * Turn the character form of a move into the spot number form. */ int -ctos(mp) - const char *mp; +ctos(const char *mp) { int i; @@ -100,8 +98,7 @@ ctos(mp) * Turn a letter into a number. */ int -lton(c) - int c; +lton(int c) { int i; |