summaryrefslogtreecommitdiff
path: root/usr.bin/sed
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 21:05:47 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 21:05:47 +0000
commitdac2e5bb3990fd05a5027fc01a8f9c0b59895523 (patch)
tree32ab5e771b0ce146934c9462a6bbb409e4fa4390 /usr.bin/sed
parentec5d2ebad5e3102a055932148dd103272602b53b (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'usr.bin/sed')
-rw-r--r--usr.bin/sed/misc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/sed/misc.c b/usr.bin/sed/misc.c
index 0e9f44eee73..c70346b2155 100644
--- a/usr.bin/sed/misc.c
+++ b/usr.bin/sed/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.2 1996/06/26 05:39:07 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.3 1997/07/25 21:05:41 mickey Exp $ */
/*-
* Copyright (c) 1992 Diomidis Spinellis.
@@ -39,7 +39,7 @@
#ifndef lint
/* from: static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; */
-static char *rcsid = "$OpenBSD: misc.c,v 1.2 1996/06/26 05:39:07 deraadt Exp $";
+static char *rcsid = "$OpenBSD: misc.c,v 1.3 1997/07/25 21:05:41 mickey Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -104,7 +104,7 @@ strregerror(errcode, preg)
return (oe);
}
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -113,7 +113,7 @@ strregerror(errcode, preg)
* Error reporting function
*/
void
-#if __STDC__
+#ifdef __STDC__
err(int severity, const char *fmt, ...)
#else
err(severity, fmt, va_alist)
@@ -123,7 +123,7 @@ err(severity, fmt, va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);