summaryrefslogtreecommitdiff
path: root/bin/csh/err.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 18:58:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 18:58:46 +0000
commit8b5947547c06bfdb31b8ad5a3e99c52ee0ca7f56 (patch)
tree148552e3918c0aceeff4f3480be52874f868234f /bin/csh/err.c
parent5f847c26943f34aecbbab0e20155ce54256b5ba1 (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'bin/csh/err.c')
-rw-r--r--bin/csh/err.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/csh/err.c b/bin/csh/err.c
index 0708850347f..ac470682ad6 100644
--- a/bin/csh/err.c
+++ b/bin/csh/err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.c,v 1.4 1997/07/23 14:36:49 kstailey Exp $ */
+/* $OpenBSD: err.c,v 1.5 1997/07/25 18:58:03 mickey Exp $ */
/* $NetBSD: err.c,v 1.6 1995/03/21 09:02:47 cgd Exp $ */
/*-
@@ -38,14 +38,14 @@
#if 0
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: err.c,v 1.4 1997/07/23 14:36:49 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: err.c,v 1.5 1997/07/25 18:58:03 mickey Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
-#if __STDC__
+#ifdef __STDC__
# include <stdarg.h>
#else
# include <varargs.h>
@@ -293,7 +293,7 @@ static char *errorlist[] =
* e.g. in process.
*/
void
-#if __STDC__
+#ifdef __STDC__
seterror(int id, ...)
#else
seterror(id, va_alist)
@@ -305,7 +305,7 @@ seterror(id, va_alist)
char berr[BUFSIZ];
va_list va;
-#if __STDC__
+#ifdef __STDC__
va_start(va, id);
#else
va_start(va);
@@ -338,7 +338,7 @@ seterror(id, va_alist)
* place error unwinds are ever caught.
*/
void
-#if __STDC__
+#ifdef __STDC__
stderror(int id, ...)
#else
stderror(id, va_alist)
@@ -371,7 +371,7 @@ stderror(id, va_alist)
/* Old error. */
(void) fprintf(csherr, "%s.\n", seterr);
else {
-#if __STDC__
+#ifdef __STDC__
va_start(va, id);
#else
va_start(va);