diff options
author | mycroft <mycroft@NetBSD.org> | 1993-04-18 20:50:22 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1993-04-18 20:50:22 +0000 |
commit | d244d8703e3d0edbd492dca367d74db166e8a687 (patch) | |
tree | bee801e85eaad3f30ab32d08cfd17cb2f5b3813d /cribbage/io.c | |
parent | ee1bbda984c46b43ec02c5150e87fadec841fa52 (diff) | |
download | bsdgames-darwin-d244d8703e3d0edbd492dca367d74db166e8a687.tar.gz bsdgames-darwin-d244d8703e3d0edbd492dca367d74db166e8a687.tar.zst bsdgames-darwin-d244d8703e3d0edbd492dca367d74db166e8a687.zip |
Cleanup for GCC 2.
Diffstat (limited to 'cribbage/io.c')
-rw-r--r-- | cribbage/io.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cribbage/io.c b/cribbage/io.c index ef99246b..0d795168 100644 --- a/cribbage/io.c +++ b/cribbage/io.c @@ -374,14 +374,11 @@ int Mpos = 0; static int Newpos = 0; /* VARARGS1 */ -msg(fmt) +msg(fmt,ap) char *fmt; + _VA_LIST_ ap; { - va_list ap; - - va_start(ap, fmt); (void)vsprintf(&Msgbuf[Newpos], fmt, ap); - va_end(ap); endmsg(); } @@ -390,14 +387,11 @@ msg(fmt) * Add things to the current message */ /* VARARGS1 */ -addmsg(fmt) +addmsg(fmt,ap) char *fmt; + _VA_LIST_ ap; { - va_list ap; - - va_start(ap, fmt); (void)vsprintf(&Msgbuf[Newpos], fmt, ap); - va_end(ap); } /* |