summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/err.c4
-rw-r--r--lib/libc/gen/errx.c6
-rw-r--r--lib/libc/gen/exec.c16
-rw-r--r--lib/libc/gen/ftok.c4
-rw-r--r--lib/libc/gen/setdomainname.c4
-rw-r--r--lib/libc/gen/sethostname.c4
-rw-r--r--lib/libc/gen/setmode.c6
-rw-r--r--lib/libc/gen/setproctitle.c6
-rw-r--r--lib/libc/gen/syslog.c8
-rw-r--r--lib/libc/gen/unvis.c4
-rw-r--r--lib/libc/gen/vis.c4
-rw-r--r--lib/libc/gen/waitpid.c4
-rw-r--r--lib/libc/gen/warn.c4
13 files changed, 37 insertions, 37 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index f0eddfcb891..5749b3fada8 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: err.c,v 1.3 1996/08/19 08:22:30 tholo Exp $";
+static char rcsid[] = "$OpenBSD: err.c,v 1.4 1997/07/25 20:30:01 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <err.h>
@@ -52,7 +52,7 @@ _err(va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
int eval;
diff --git a/lib/libc/gen/errx.c b/lib/libc/gen/errx.c
index 16524e4237e..8f80294af8d 100644
--- a/lib/libc/gen/errx.c
+++ b/lib/libc/gen/errx.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: errx.c,v 1.2 1996/08/19 08:22:36 tholo Exp $";
+static char rcsid[] = "$OpenBSD: errx.c,v 1.3 1997/07/25 20:30:02 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <err.h>
@@ -44,7 +44,7 @@ static char rcsid[] = "$OpenBSD: errx.c,v 1.2 1996/08/19 08:22:36 tholo Exp $";
#endif
__dead void
-#if __STDC__
+#ifdef __STDC__
_errx(int eval, const char *fmt, ...)
#else
_errx(va_alist)
@@ -52,7 +52,7 @@ _errx(va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
int eval;
diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c
index 0a921063b6b..10d79ac99a5 100644
--- a/lib/libc/gen/exec.c
+++ b/lib/libc/gen/exec.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: exec.c,v 1.5 1996/12/05 05:37:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: exec.c,v 1.6 1997/07/25 20:30:01 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -44,7 +44,7 @@ static char rcsid[] = "$OpenBSD: exec.c,v 1.5 1996/12/05 05:37:10 deraadt Exp $"
#include <stdio.h>
#include <paths.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -87,7 +87,7 @@ buildargv(ap, arg, envpp)
}
int
-#if __STDC__
+#ifdef __STDC__
execl(const char *name, const char *arg, ...)
#else
execl(name, arg, va_alist)
@@ -100,7 +100,7 @@ execl(name, arg, va_alist)
int sverrno;
char **argv;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, arg);
#else
va_start(ap);
@@ -115,7 +115,7 @@ execl(name, arg, va_alist)
}
int
-#if __STDC__
+#ifdef __STDC__
execle(const char *name, const char *arg, ...)
#else
execle(name, arg, va_alist)
@@ -128,7 +128,7 @@ execle(name, arg, va_alist)
int sverrno;
char **argv, **envp;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, arg);
#else
va_start(ap);
@@ -143,7 +143,7 @@ execle(name, arg, va_alist)
}
int
-#if __STDC__
+#ifdef __STDC__
execlp(const char *name, const char *arg, ...)
#else
execlp(name, arg, va_alist)
@@ -156,7 +156,7 @@ execlp(name, arg, va_alist)
int sverrno;
char **argv;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, arg);
#else
va_start(ap);
diff --git a/lib/libc/gen/ftok.c b/lib/libc/gen/ftok.c
index 0c2722b64c4..42013e8e916 100644
--- a/lib/libc/gen/ftok.c
+++ b/lib/libc/gen/ftok.c
@@ -26,7 +26,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: ftok.c,v 1.3 1996/08/19 08:22:54 tholo Exp $";
+static char *rcsid = "$OpenBSD: ftok.c,v 1.4 1997/07/25 20:30:02 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -34,7 +34,7 @@ static char *rcsid = "$OpenBSD: ftok.c,v 1.3 1996/08/19 08:22:54 tholo Exp $";
#include <sys/ipc.h>
key_t
-#if __STDC__
+#ifdef __STDC__
ftok(const char *path, char id)
#else
ftok(path, id)
diff --git a/lib/libc/gen/setdomainname.c b/lib/libc/gen/setdomainname.c
index e146c19833b..398743fa1b6 100644
--- a/lib/libc/gen/setdomainname.c
+++ b/lib/libc/gen/setdomainname.c
@@ -32,13 +32,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.2 1996/08/19 08:25:45 tholo Exp $";
+static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.3 1997/07/25 20:30:03 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <sys/sysctl.h>
-#if __STDC__
+#ifdef __STDC__
int
setdomainname(const char *name, int namelen)
#else
diff --git a/lib/libc/gen/sethostname.c b/lib/libc/gen/sethostname.c
index 4554b5a110b..c9786b41c34 100644
--- a/lib/libc/gen/sethostname.c
+++ b/lib/libc/gen/sethostname.c
@@ -32,13 +32,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: sethostname.c,v 1.2 1996/08/19 08:25:48 tholo Exp $";
+static char rcsid[] = "$OpenBSD: sethostname.c,v 1.3 1997/07/25 20:30:03 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <sys/sysctl.h>
-#if __STDC__
+#ifdef __STDC__
int
sethostname(const char *name, int namelen)
#else
diff --git a/lib/libc/gen/setmode.c b/lib/libc/gen/setmode.c
index f5f41277202..c13720e8cd3 100644
--- a/lib/libc/gen/setmode.c
+++ b/lib/libc/gen/setmode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setmode.c,v 1.6 1997/07/23 21:04:07 kstailey Exp $ */
+/* $OpenBSD: setmode.c,v 1.7 1997/07/25 20:30:04 mickey Exp $ */
/* $NetBSD: setmode.c,v 1.15 1997/02/07 22:21:06 christos Exp $ */
/*
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)setmode.c 8.2 (Berkeley) 3/25/94";
#else
-static char rcsid[] = "$OpenBSD: setmode.c,v 1.6 1997/07/23 21:04:07 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: setmode.c,v 1.7 1997/07/25 20:30:04 mickey Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -86,7 +86,7 @@ static void dumpmode __P((BITCMD *));
* bits) followed by a '+' (set bits).
*/
mode_t
-#if __STDC__
+#ifdef __STDC__
getmode(const void *bbox, mode_t omode)
#else
getmode(bbox, omode)
diff --git a/lib/libc/gen/setproctitle.c b/lib/libc/gen/setproctitle.c
index 7e5a7319d0e..731c621461c 100644
--- a/lib/libc/gen/setproctitle.c
+++ b/lib/libc/gen/setproctitle.c
@@ -30,7 +30,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.4 1996/10/23 17:15:44 millert Exp $";
+static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.5 1997/07/25 20:30:03 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -54,7 +54,7 @@ static char rcsid[] = "$OpenBSD: setproctitle.c,v 1.4 1996/10/23 17:15:44 miller
extern char *__progname; /* Program name, from crt0. */
void
-#if __STDC__
+#ifdef __STDC__
setproctitle(const char *fmt, ...)
#else
setproctitle(fmt, va_alist)
@@ -68,7 +68,7 @@ setproctitle(fmt, va_alist)
static char buf[MAX_PROCTITLE], *bufp = buf;
int used;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);
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);
diff --git a/lib/libc/gen/unvis.c b/lib/libc/gen/unvis.c
index db92e7eea6d..c494c1c1965 100644
--- a/lib/libc/gen/unvis.c
+++ b/lib/libc/gen/unvis.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: unvis.c,v 1.5 1997/07/09 00:28:26 millert Exp $";
+static char rcsid[] = "$OpenBSD: unvis.c,v 1.6 1997/07/25 20:30:05 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -56,7 +56,7 @@ static char rcsid[] = "$OpenBSD: unvis.c,v 1.5 1997/07/09 00:28:26 millert Exp $
* unvis - decode characters previously encoded by vis
*/
int
-#if __STDC__
+#ifdef __STDC__
unvis(char *cp, char c, int *astate, int flag)
#else
unvis(cp, c, astate, flag)
diff --git a/lib/libc/gen/vis.c b/lib/libc/gen/vis.c
index 2b755bf1605..0859957bde7 100644
--- a/lib/libc/gen/vis.c
+++ b/lib/libc/gen/vis.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: vis.c,v 1.3 1997/07/09 00:28:26 millert Exp $";
+static char rcsid[] = "$OpenBSD: vis.c,v 1.4 1997/07/25 20:30:05 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -77,7 +77,7 @@ vis(dst, c, flag, nextc)
*dst++ = '\\';
*dst++ = 'b';
goto done;
-#if __STDC__
+#ifdef __STDC__
case '\a':
#else
case '\007':
diff --git a/lib/libc/gen/waitpid.c b/lib/libc/gen/waitpid.c
index 605992c984f..87b485fdba0 100644
--- a/lib/libc/gen/waitpid.c
+++ b/lib/libc/gen/waitpid.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: waitpid.c,v 1.2 1996/08/19 08:27:46 tholo Exp $";
+static char rcsid[] = "$OpenBSD: waitpid.c,v 1.3 1997/07/25 20:30:06 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -41,7 +41,7 @@ static char rcsid[] = "$OpenBSD: waitpid.c,v 1.2 1996/08/19 08:27:46 tholo Exp $
#include <sys/resource.h>
pid_t
-#if __STDC__
+#ifdef __STDC__
waitpid(pid_t pid, int *istat, int options)
#else
waitpid(pid, istat, options)
diff --git a/lib/libc/gen/warn.c b/lib/libc/gen/warn.c
index 203d74333cc..422d94b2059 100644
--- a/lib/libc/gen/warn.c
+++ b/lib/libc/gen/warn.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: warn.c,v 1.2 1996/08/19 08:27:48 tholo Exp $";
+static char rcsid[] = "$OpenBSD: warn.c,v 1.3 1997/07/25 20:30:06 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <err.h>
@@ -52,7 +52,7 @@ _warn(va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
const char *fmt;