summaryrefslogtreecommitdiff
path: root/usr.bin/rsh/rsh.c
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/rsh/rsh.c
parentec5d2ebad5e3102a055932148dd103272602b53b (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'usr.bin/rsh/rsh.c')
-rw-r--r--usr.bin/rsh/rsh.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c
index dd4330c209b..5d43207bd7d 100644
--- a/usr.bin/rsh/rsh.c
+++ b/usr.bin/rsh/rsh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsh.c,v 1.14 1997/06/29 11:10:34 provos Exp $ */
+/* $OpenBSD: rsh.c,v 1.15 1997/07/25 21:05:39 mickey Exp $ */
/*-
* Copyright (c) 1983, 1990 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)rsh.c 5.24 (Berkeley) 7/1/91";*/
-static char rcsid[] = "$OpenBSD: rsh.c,v 1.14 1997/06/29 11:10:34 provos Exp $";
+static char rcsid[] = "$OpenBSD: rsh.c,v 1.15 1997/07/25 21:05:39 mickey Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -57,7 +57,7 @@ static char rcsid[] = "$OpenBSD: rsh.c,v 1.14 1997/06/29 11:10:34 provos Exp $";
#include <stdio.h>
#include <errno.h>
#include <string.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -417,7 +417,7 @@ sendsig(signo)
#ifdef KERBEROS
/* VARARGS */
void
-#if __STDC__
+#ifdef __STDC__
warning(const char *fmt, ...)
#else
warning(va_alist)
@@ -425,7 +425,7 @@ va_dcl
#endif
{
va_list ap;
-#if !__STDC__
+#ifndef __STDC__
char *fmt;
#endif
char myrealm[REALM_SZ];
@@ -433,7 +433,7 @@ va_dcl
if (krb_get_lrealm(myrealm, 0) != KSUCCESS)
return;
(void)fprintf(stderr, "rsh: warning, using standard rsh: ");
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);