summaryrefslogtreecommitdiff
path: root/usr.bin/sup
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/sup
parentec5d2ebad5e3102a055932148dd103272602b53b (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'usr.bin/sup')
-rw-r--r--usr.bin/sup/src/scm.c4
-rw-r--r--usr.bin/sup/src/supfilesrv.c4
-rw-r--r--usr.bin/sup/src/supscan.c4
-rw-r--r--usr.bin/sup/src/time.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/sup/src/scm.c b/usr.bin/sup/src/scm.c
index bd108827807..b7f096efb85 100644
--- a/usr.bin/sup/src/scm.c
+++ b/usr.bin/sup/src/scm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scm.c,v 1.4 1997/04/01 07:35:22 todd Exp $ */
+/* $OpenBSD: scm.c,v 1.5 1997/07/25 21:05:42 mickey Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -159,7 +159,7 @@
#include <arpa/inet.h>
#include <net/if.h>
#include <netdb.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
diff --git a/usr.bin/sup/src/supfilesrv.c b/usr.bin/sup/src/supfilesrv.c
index 50a6711430c..2731dd07b24 100644
--- a/usr.bin/sup/src/supfilesrv.c
+++ b/usr.bin/sup/src/supfilesrv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: supfilesrv.c,v 1.7 1997/04/01 07:35:43 todd Exp $ */
+/* $OpenBSD: supfilesrv.c,v 1.8 1997/07/25 21:05:42 mickey Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -147,7 +147,7 @@
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
diff --git a/usr.bin/sup/src/supscan.c b/usr.bin/sup/src/supscan.c
index 216e9042bb4..710a50ee9a4 100644
--- a/usr.bin/sup/src/supscan.c
+++ b/usr.bin/sup/src/supscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: supscan.c,v 1.5 1997/04/01 07:35:49 todd Exp $ */
+/* $OpenBSD: supscan.c,v 1.6 1997/07/25 21:05:43 mickey Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -82,7 +82,7 @@
#include <c.h>
#include <netdb.h>
#include <setjmp.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
diff --git a/usr.bin/sup/src/time.h b/usr.bin/sup/src/time.h
index b1fa9e9aa13..304191c5a43 100644
--- a/usr.bin/sup/src/time.h
+++ b/usr.bin/sup/src/time.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: time.h,v 1.2 1996/06/26 05:39:58 deraadt Exp $ */
+/* $OpenBSD: time.h,v 1.3 1997/07/25 21:05:43 mickey Exp $ */
/*
* Copyright (c) 1991 Carnegie Mellon University
@@ -69,7 +69,7 @@ struct tm {
char *tm_zone; /* timezone abbreviation */
};
-#if __STDC__ || c_plusplus
+#if defined(__STDC__) || defined(c_plusplus)
extern struct tm *gmtime(const time_t *);
extern struct tm *localtime(const time_t *);
extern time_t mktime(const struct tm *);