summaryrefslogtreecommitdiffstats
path: root/cribbage/io.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1993-04-18 20:50:22 +0000
committermycroft <mycroft@NetBSD.org>1993-04-18 20:50:22 +0000
commitd244d8703e3d0edbd492dca367d74db166e8a687 (patch)
treebee801e85eaad3f30ab32d08cfd17cb2f5b3813d /cribbage/io.c
parentee1bbda984c46b43ec02c5150e87fadec841fa52 (diff)
downloadbsdgames-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.c14
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);
}
/*