summaryrefslogtreecommitdiff
path: root/games/cribbage/io.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 19:34:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 19:34:10 +0000
commita57a2f8a05e5ecb420666be177391e7b1592337d (patch)
tree8ee0455dbdc29d24c3d55920699f80c62388e968 /games/cribbage/io.c
parentc970811a26a4d751242a29ec6b9cce6601765c36 (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'games/cribbage/io.c')
-rw-r--r--games/cribbage/io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/cribbage/io.c b/games/cribbage/io.c
index c4bcbaa3f8d..7e035091983 100644
--- a/games/cribbage/io.c
+++ b/games/cribbage/io.c
@@ -49,7 +49,7 @@ static char rcsid[] = "$NetBSD: io.c,v 1.7 1995/03/21 15:08:53 cgd Exp $";
#include <termios.h>
#include <unistd.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -391,7 +391,7 @@ int Mpos = 0;
static int Newpos = 0;
void
-#if __STDC__
+#ifdef __STDC__
msg(const char *fmt, ...)
#else
msg(fmt, va_alist)
@@ -401,7 +401,7 @@ msg(fmt, va_alist)
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);
@@ -417,7 +417,7 @@ msg(fmt, va_alist)
* Add things to the current message
*/
void
-#if __STDC__
+#ifdef __STDC__
addmsg(const char *fmt, ...)
#else
addmsg(fmt, va_alist)
@@ -427,7 +427,7 @@ addmsg(fmt, va_alist)
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);