diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-25 19:34:10 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-25 19:34:10 +0000 |
commit | a57a2f8a05e5ecb420666be177391e7b1592337d (patch) | |
tree | 8ee0455dbdc29d24c3d55920699f80c62388e968 /games/snake | |
parent | c970811a26a4d751242a29ec6b9cce6601765c36 (diff) |
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'games/snake')
-rw-r--r-- | games/snake/snake/move.c | 10 | ||||
-rw-r--r-- | games/snake/snake/snake.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/games/snake/snake/move.c b/games/snake/snake/move.c index 3a7d61d63fa..4445ff5aaae 100644 --- a/games/snake/snake/move.c +++ b/games/snake/snake/move.c @@ -96,7 +96,7 @@ static char rcsid[] = "$NetBSD: move.c,v 1.12 1996/05/19 20:22:09 pk Exp $"; * ******************************************************************************/ -#if __STDC__ +#ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> @@ -396,7 +396,7 @@ pch(c) } void -#if __STDC__ +#ifdef __STDC__ apr(struct point *ps, const char *fmt, ...) #else apr(ps, fmt, va_alist) @@ -410,7 +410,7 @@ apr(ps, fmt, va_alist) p.line = ps->line+1; p.col = ps->col+1; move(&p); -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); @@ -421,7 +421,7 @@ apr(ps, fmt, va_alist) } void -#if __STDC__ +#ifdef __STDC__ pr(const char *fmt, ...) #else pr(fmt, va_alist) @@ -431,7 +431,7 @@ pr(fmt, va_alist) { va_list ap; -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); diff --git a/games/snake/snake/snake.h b/games/snake/snake/snake.h index 921426ae492..b2900882dfd 100644 --- a/games/snake/snake/snake.h +++ b/games/snake/snake/snake.h @@ -75,7 +75,7 @@ struct point { struct point cursor; struct termios orig, new; struct point *point(); -#if __STDC__ +#ifdef __STDC__ void apr(struct point *, const char *, ...); void pr(const char *, ...); #else |