summaryrefslogtreecommitdiffstats
path: root/gomoku/stoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gomoku/stoc.c')
-rw-r--r--gomoku/stoc.c13
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;