diff options
author | jb <jb@FreeBSD.org> | 1998-05-09 09:22:33 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-09 09:22:33 +0000 |
commit | 005dd2f7a48fece640e6a62fabdd39093d12e4b3 (patch) | |
tree | ade5b66bfca0fe07def67b998bf537381d2df668 /games/backgammon | |
parent | 6ebc5834dcc11a793e928396e6477c4e3c8000bb (diff) | |
download | FreeBSD-src-005dd2f7a48fece640e6a62fabdd39093d12e4b3.zip FreeBSD-src-005dd2f7a48fece640e6a62fabdd39093d12e4b3.tar.gz |
Change prototype for addbuf to make it compatible with tputs now that
there is a prototype to check it against.
Diffstat (limited to 'games/backgammon')
-rw-r--r-- | games/backgammon/common_source/subs.c | 5 |
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 () { |