summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:12:33 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:12:33 +0000
commit1626c644fa840e7d0e3178a0c02abb959cbb2d39 (patch)
tree6ccdff5f99d9f696c32990e7e7300e577ecb2010 /usr.sbin/lpr
parentbdd29b5fbbe2dc1fb578b767909cfc64b6db403b (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/common_source/common.c10
-rw-r--r--usr.sbin/lpr/lpd/printjob.c8
-rw-r--r--usr.sbin/lpr/lpd/recvjob.c10
-rw-r--r--usr.sbin/lpr/lpr/lpr.c10
4 files changed, 19 insertions, 19 deletions
diff --git a/usr.sbin/lpr/common_source/common.c b/usr.sbin/lpr/common_source/common.c
index 4fc3194d8cc..13df6931499 100644
--- a/usr.sbin/lpr/common_source/common.c
+++ b/usr.sbin/lpr/common_source/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.6 1997/07/24 01:10:33 millert Exp $ */
+/* $OpenBSD: common.c,v 1.7 1997/07/25 20:12:11 mickey Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)common.c 8.5 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: common.c,v 1.6 1997/07/24 01:10:33 millert Exp $";
+static char rcsid[] = "$OpenBSD: common.c,v 1.7 1997/07/25 20:12:11 mickey Exp $";
#endif
#endif /* not lint */
@@ -359,14 +359,14 @@ delay(n)
(void) select(0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &tdelay);
}
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
void
-#if __STDC__
+#ifdef __STDC__
fatal(const char *msg, ...)
#else
fatal(msg, va_alist)
@@ -375,7 +375,7 @@ fatal(msg, va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, msg);
#else
va_start(ap);
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c
index a9b3441f642..f66ac4f0895 100644
--- a/usr.sbin/lpr/lpd/printjob.c
+++ b/usr.sbin/lpr/lpd/printjob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printjob.c,v 1.15 1997/07/23 10:12:43 deraadt Exp $ */
+/* $OpenBSD: printjob.c,v 1.16 1997/07/25 20:12:12 mickey Exp $ */
/* $NetBSD: printjob.c,v 1.9.4.3 1996/07/12 22:31:39 jtc Exp $ */
/*
@@ -1537,14 +1537,14 @@ setty()
return;
}
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
static void
-#if __STDC__
+#ifdef __STDC__
pstatus(const char *msg, ...)
#else
pstatus(msg, va_alist)
@@ -1555,7 +1555,7 @@ pstatus(msg, va_alist)
register int fd;
char buf[BUFSIZ];
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, msg);
#else
va_start(ap);
diff --git a/usr.sbin/lpr/lpd/recvjob.c b/usr.sbin/lpr/lpd/recvjob.c
index 426f8a97ed8..d6b1cebd6dc 100644
--- a/usr.sbin/lpr/lpd/recvjob.c
+++ b/usr.sbin/lpr/lpd/recvjob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: recvjob.c,v 1.10 1997/07/20 19:04:18 deraadt Exp $ */
+/* $OpenBSD: recvjob.c,v 1.11 1997/07/25 20:12:13 mickey Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)recvjob.c 8.2 (Berkeley) 4/27/95";
#else
-static char rcsid[] = "$OpenBSD: recvjob.c,v 1.10 1997/07/20 19:04:18 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: recvjob.c,v 1.11 1997/07/25 20:12:13 mickey Exp $";
#endif
#endif /* not lint */
@@ -342,14 +342,14 @@ rcleanup(signo)
dfname[0] = '\0';
}
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
static void
-#if __STDC__
+#ifdef __STDC__
frecverr(const char *msg, ...)
#else
frecverr(msg, va_alist)
@@ -359,7 +359,7 @@ frecverr(msg, va_alist)
{
extern char fromb[];
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, msg);
#else
va_start(ap);
diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c
index 4889be99396..7ace3904c97 100644
--- a/usr.sbin/lpr/lpr/lpr.c
+++ b/usr.sbin/lpr/lpr/lpr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lpr.c,v 1.18 1997/07/19 07:11:44 deraadt Exp $ */
+/* $OpenBSD: lpr.c,v 1.19 1997/07/25 20:12:13 mickey Exp $ */
/* $NetBSD: lpr.c,v 1.10 1996/03/21 18:12:25 jtc Exp $ */
/*
@@ -50,7 +50,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)lpr.c 8.4 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: lpr.c,v 1.18 1997/07/19 07:11:44 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: lpr.c,v 1.19 1997/07/25 20:12:13 mickey Exp $";
#endif
#endif /* not lint */
@@ -745,14 +745,14 @@ lmktemp(id, num, len)
return(s);
}
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
static void
-#if __STDC__
+#ifdef __STDC__
fatal2(const char *msg, ...)
#else
fatal2(msg, va_alist)
@@ -761,7 +761,7 @@ fatal2(msg, va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, msg);
#else
va_start(ap);