summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.h4
-rw-r--r--usr.bin/file/print.c18
2 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/file/file.h b/usr.bin/file/file.h
index 579eec21f15..b09a8eccb10 100644
--- a/usr.bin/file/file.h
+++ b/usr.bin/file/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.3 1997/02/09 23:58:23 millert Exp $ */
+/* $OpenBSD: file.h,v 1.4 1997/07/25 21:05:26 mickey Exp $ */
/*
* file.h - definitions for file(1) program
@@ -81,7 +81,7 @@ struct magic {
#include <stdio.h> /* Include that here, to make sure __P gets defined */
#ifndef __P
-# if __STDC__ || __cplusplus
+# ifdef __STDC__ || __cplusplus
# define __P(a) a
# else
# define __P(a) ()
diff --git a/usr.bin/file/print.c b/usr.bin/file/print.c
index 089d1f28422..533dbb02069 100644
--- a/usr.bin/file/print.c
+++ b/usr.bin/file/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.3 1997/02/09 23:58:32 millert Exp $ */
+/* $OpenBSD: print.c,v 1.4 1997/07/25 21:05:26 mickey Exp $ */
/*
* print.c - debugging printout routines
@@ -30,7 +30,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
-#if __STDC__
+#ifdef __STDC__
# include <stdarg.h>
#else
# include <varargs.h>
@@ -41,7 +41,7 @@
#include "file.h"
#ifndef lint
-static char *moduleid = "$OpenBSD: print.c,v 1.3 1997/02/09 23:58:32 millert Exp $";
+static char *moduleid = "$OpenBSD: print.c,v 1.4 1997/07/25 21:05:26 mickey Exp $";
#endif /* lint */
#define SZOF(a) (sizeof(a) / sizeof(a[0]))
@@ -123,7 +123,7 @@ ckfputs(str, fil)
/*VARARGS*/
void
-#if __STDC__
+#ifdef __STDC__
ckfprintf(FILE *f, const char *fmt, ...)
#else
ckfprintf(va_alist)
@@ -131,7 +131,7 @@ ckfprintf(va_alist)
#endif
{
va_list va;
-#if __STDC__
+#ifdef __STDC__
va_start(va, fmt);
#else
FILE *f;
@@ -151,7 +151,7 @@ ckfprintf(va_alist)
*/
/*VARARGS*/
void
-#if __STDC__
+#ifdef __STDC__
error(const char *f, ...)
#else
error(va_alist)
@@ -159,7 +159,7 @@ error(va_alist)
#endif
{
va_list va;
-#if __STDC__
+#ifdef __STDC__
va_start(va, f);
#else
const char *f;
@@ -178,7 +178,7 @@ error(va_alist)
/*VARARGS*/
void
-#if __STDC__
+#ifdef __STDC__
magwarn(const char *f, ...)
#else
magwarn(va_alist)
@@ -186,7 +186,7 @@ magwarn(va_alist)
#endif
{
va_list va;
-#if __STDC__
+#ifdef __STDC__
va_start(va, f);
#else
const char *f;