summaryrefslogtreecommitdiff
path: root/lib/libc/gen/syslog.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:30:28 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:30:28 +0000
commit7baa7d06cf60a96d45c4a33ac4b83042a409e6f0 (patch)
tree535f30ade3133c1d8d84a06136dd0f216024ffb3 /lib/libc/gen/syslog.c
parent1626c644fa840e7d0e3178a0c02abb959cbb2d39 (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libc/gen/syslog.c')
-rw-r--r--lib/libc/gen/syslog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/syslog.c b/lib/libc/gen/syslog.c
index cc56cdef0d6..27af209ff36 100644
--- a/lib/libc/gen/syslog.c
+++ b/lib/libc/gen/syslog.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: syslog.c,v 1.3 1997/07/09 00:28:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: syslog.c,v 1.4 1997/07/25 20:30:04 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -49,7 +49,7 @@ static char rcsid[] = "$OpenBSD: syslog.c,v 1.3 1997/07/09 00:28:24 millert Exp
#include <time.h>
#include <unistd.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -68,7 +68,7 @@ extern char *__progname; /* Program name, from crt0. */
* print message on log file; output is intended for syslogd(8).
*/
void
-#if __STDC__
+#ifdef __STDC__
syslog(int pri, const char *fmt, ...)
#else
syslog(pri, fmt, va_alist)
@@ -79,7 +79,7 @@ syslog(pri, fmt, va_alist)
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);