summaryrefslogtreecommitdiffstats
path: root/games/backgammon/common_source/subs.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/backgammon/common_source/subs.c')
-rw-r--r--games/backgammon/common_source/subs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/backgammon/common_source/subs.c b/games/backgammon/common_source/subs.c
index 7a6e1ba9..a9e998b 100644
--- a/games/backgammon/common_source/subs.c
+++ b/games/backgammon/common_source/subs.c
@@ -74,8 +74,8 @@ register char *s1, *s2;
while ( (*s1++ = *s2++) != '\0');
}
-addbuf (c)
-register char c;
+int addbuf (c)
+register int c;
{
buffnum++;
@@ -85,6 +85,7 @@ register char c;
buffnum = 0;
}
outbuff[buffnum] = c;
+ return (0);
}
buflush () {
OpenPOWER on IntegriCloud