diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-25 20:12:33 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-25 20:12:33 +0000 |
commit | 1626c644fa840e7d0e3178a0c02abb959cbb2d39 (patch) | |
tree | 6ccdff5f99d9f696c32990e7e7300e577ecb2010 /usr.sbin/config | |
parent | bdd29b5fbbe2dc1fb578b767909cfc64b6db403b (diff) |
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/config.h | 4 | ||||
-rw-r--r-- | usr.sbin/config/util.c | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 79c6bd62053..252e054f438 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -1,4 +1,4 @@ -/* $OpenBSD: config.h,v 1.8 1997/07/06 03:54:04 downsj Exp $ */ +/* $OpenBSD: config.h,v 1.9 1997/07/25 20:12:10 mickey Exp $ */ /* $NetBSD: config.h,v 1.30 1997/02/02 21:12:30 thorpej Exp $ */ /* @@ -63,7 +63,7 @@ #endif /* ...STDC */ #endif /* ...BSD */ -#if __STDC__ +#ifdef __STDC__ #include <stdlib.h> #include <unistd.h> #endif diff --git a/usr.sbin/config/util.c b/usr.sbin/config/util.c index 576512bed4e..b470ac4c8dd 100644 --- a/usr.sbin/config/util.c +++ b/usr.sbin/config/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.5 1996/10/23 22:38:02 niklas Exp $ */ +/* $OpenBSD: util.c,v 1.6 1997/07/25 20:12:10 mickey Exp $ */ /* $NetBSD: util.c,v 1.5 1996/08/31 20:58:29 mycroft Exp $ */ /* @@ -49,7 +49,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#if __STDC__ +#ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> @@ -172,7 +172,7 @@ nvfreel(nv) * and line number. */ void -#if __STDC__ +#ifdef __STDC__ error(const char *fmt, ...) #else error(fmt, va_alist) @@ -183,7 +183,7 @@ error(fmt, va_alist) va_list ap; extern const char *yyfile; -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); @@ -197,7 +197,7 @@ error(fmt, va_alist) * find out about it until later). */ void -#if __STDC__ +#ifdef __STDC__ xerror(const char *file, int line, const char *fmt, ...) #else xerror(file, line, fmt, va_alist) @@ -209,7 +209,7 @@ xerror(file, line, fmt, va_alist) { va_list ap; -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); @@ -239,7 +239,7 @@ vxerror(file, line, fmt, ap) * Internal error, abort. */ __dead void -#if __STDC__ +#ifdef __STDC__ panic(const char *fmt, ...) #else panic(fmt, va_alist) @@ -249,7 +249,7 @@ panic(fmt, va_alist) { va_list ap; -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); |