summaryrefslogtreecommitdiff
path: root/games/phantasia/map.c
diff options
context:
space:
mode:
authortb <tb@cvs.openbsd.org>2016-01-06 09:29:35 +0000
committertb <tb@cvs.openbsd.org>2016-01-06 09:29:35 +0000
commitcb265b2979a7700f28728cbca8eea93bc6a04633 (patch)
tree86f244537970873f20ebab11d8ce9dba63ae6810 /games/phantasia/map.c
parent23b6a0f46707ea67ff87f10ce4193f4101323725 (diff)
Ansify map.c.
ok mestre@
Diffstat (limited to 'games/phantasia/map.c')
-rw-r--r--games/phantasia/map.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/games/phantasia/map.c b/games/phantasia/map.c
index 130064672d7..47be7d9063d 100644
--- a/games/phantasia/map.c
+++ b/games/phantasia/map.c
@@ -1,10 +1,11 @@
-/* $OpenBSD: map.c,v 1.3 2016/01/06 09:24:38 tb Exp $ */
+/* $OpenBSD: map.c,v 1.4 2016/01/06 09:29:34 tb Exp $ */
/* $NetBSD: map.c,v 1.2 1995/03/24 03:58:58 cgd Exp $ */
#define minusminus plusplus
#define minusplus plusminus
-main()
+int
+main(int argc, char *argv[])
{
/* Set up */
@@ -128,9 +129,9 @@ main()
return 0;
}
-plusplus(s, x, y) /* draw strings in plus plus quadrant */
-char *s;
-int x, y;
+/* draw strings in plus plus quadrant */
+void
+plusplus(char *s, int x, int y)
{
char s1[2];
@@ -145,9 +146,9 @@ char s1[2];
}
}
-plusminus(s, x, y) /* draw strings in plus minus quadrant */
-char *s;
-int x, y;
+/* draw strings in plus minus quadrant */
+void
+plusminus(char *s, int x, int y)
{
char s1[2];