summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormickey <>1997-07-25 20:30:14 +0000
committermickey <>1997-07-25 20:30:14 +0000
commitad27efe0c0c077dd449e10cf6c0e155b98e8d613 (patch)
treefe11b15be1bee1f50d17dcf02e134bf2a87b28be
parent456073f2660b60df384e34cccfa1e588c7d47a4f (diff)
downloadopenbsd-ad27efe0c0c077dd449e10cf6c0e155b98e8d613.tar.gz
openbsd-ad27efe0c0c077dd449e10cf6c0e155b98e8d613.tar.bz2
openbsd-ad27efe0c0c077dd449e10cf6c0e155b98e8d613.zip
#if __STDC__ --> #ifdef __STDC__
-rw-r--r--src/lib/libc/crypt/bcrypt.c4
-rw-r--r--src/lib/libc/crypt/blowfish.c4
-rw-r--r--src/lib/libc/net/htons.c4
-rw-r--r--src/lib/libc/net/ntohs.c4
-rw-r--r--src/lib/libc/net/res_random.c4
-rw-r--r--src/lib/libc/string/strftime.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index 42418767ee..bea35e789a 100644
--- a/src/lib/libc/crypt/bcrypt.c
+++ b/src/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcrypt.c,v 1.8 1997/07/23 20:58:26 kstailey Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.9 1997/07/25 20:29:59 mickey Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -97,7 +97,7 @@ const static u_int8_t index_64[128] =
97}; 97};
98#define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) 98#define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)])
99 99
100#if __STDC__ 100#ifdef __STDC__
101static void 101static void
102decode_base64(u_int8_t *buffer, u_int16_t len, u_int8_t *data) 102decode_base64(u_int8_t *buffer, u_int16_t len, u_int8_t *data)
103#else 103#else
diff --git a/src/lib/libc/crypt/blowfish.c b/src/lib/libc/crypt/blowfish.c
index b9cd41f960..9f1c79b0e7 100644
--- a/src/lib/libc/crypt/blowfish.c
+++ b/src/lib/libc/crypt/blowfish.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: blowfish.c,v 1.5 1997/07/23 20:58:27 kstailey Exp $ */ 1/* $OpenBSD: blowfish.c,v 1.6 1997/07/25 20:30:00 mickey Exp $ */
2/* 2/*
3 * Blowfish block cipher for OpenBSD 3 * Blowfish block cipher for OpenBSD
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -441,7 +441,7 @@ Blowfish_initstate(c)
441 441
442} 442}
443 443
444#if __STDC__ 444#ifdef __STDC__
445u_int32_t 445u_int32_t
446Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current) 446Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current)
447#else 447#else
diff --git a/src/lib/libc/net/htons.c b/src/lib/libc/net/htons.c
index e647d8c91e..47cf25952d 100644
--- a/src/lib/libc/net/htons.c
+++ b/src/lib/libc/net/htons.c
@@ -4,7 +4,7 @@
4 */ 4 */
5 5
6#if defined(LIBC_SCCS) && !defined(lint) 6#if defined(LIBC_SCCS) && !defined(lint)
7static char *rcsid = "$OpenBSD: htons.c,v 1.5 1996/12/12 03:19:55 tholo Exp $"; 7static char *rcsid = "$OpenBSD: htons.c,v 1.6 1997/07/25 20:30:07 mickey Exp $";
8#endif /* LIBC_SCCS and not lint */ 8#endif /* LIBC_SCCS and not lint */
9 9
10#include <sys/types.h> 10#include <sys/types.h>
@@ -13,7 +13,7 @@ static char *rcsid = "$OpenBSD: htons.c,v 1.5 1996/12/12 03:19:55 tholo Exp $";
13#undef htons 13#undef htons
14 14
15u_int16_t 15u_int16_t
16#if __STDC__ 16#ifdef __STDC__
17htons(u_int16_t x) 17htons(u_int16_t x)
18#else 18#else
19htons(x) 19htons(x)
diff --git a/src/lib/libc/net/ntohs.c b/src/lib/libc/net/ntohs.c
index 129729aa32..cf6414d4a6 100644
--- a/src/lib/libc/net/ntohs.c
+++ b/src/lib/libc/net/ntohs.c
@@ -4,7 +4,7 @@
4 */ 4 */
5 5
6#if defined(LIBC_SCCS) && !defined(lint) 6#if defined(LIBC_SCCS) && !defined(lint)
7static char *rcsid = "$OpenBSD: ntohs.c,v 1.5 1996/12/12 03:19:56 tholo Exp $"; 7static char *rcsid = "$OpenBSD: ntohs.c,v 1.6 1997/07/25 20:30:07 mickey Exp $";
8#endif /* LIBC_SCCS and not lint */ 8#endif /* LIBC_SCCS and not lint */
9 9
10#include <sys/types.h> 10#include <sys/types.h>
@@ -13,7 +13,7 @@ static char *rcsid = "$OpenBSD: ntohs.c,v 1.5 1996/12/12 03:19:56 tholo Exp $";
13#undef ntohs 13#undef ntohs
14 14
15u_int16_t 15u_int16_t
16#if __STDC__ 16#ifdef __STDC__
17ntohs(u_int16_t x) 17ntohs(u_int16_t x)
18#else 18#else
19ntohs(x) 19ntohs(x)
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index f351454202..bd32a50c33 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.6 1997/04/30 05:57:03 tholo Exp $ */ 1/* $OpenBSD: res_random.c,v 1.7 1997/07/25 20:30:08 mickey Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -100,7 +100,7 @@ static void res_initid __P((void));
100 * of 0 - (mod-1) 100 * of 0 - (mod-1)
101 */ 101 */
102 102
103#if __STDC__ 103#ifdef __STDC__
104static u_int16_t 104static u_int16_t
105pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) 105pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod)
106#else 106#else
diff --git a/src/lib/libc/string/strftime.c b/src/lib/libc/string/strftime.c
index 21be6667b4..a72efb8cde 100644
--- a/src/lib/libc/string/strftime.c
+++ b/src/lib/libc/string/strftime.c
@@ -32,7 +32,7 @@
32 */ 32 */
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35static char *rcsid = "$OpenBSD: strftime.c,v 1.7 1996/10/28 16:53:28 tholo Exp $"; 35static char *rcsid = "$OpenBSD: strftime.c,v 1.8 1997/07/25 20:30:14 mickey Exp $";
36#endif /* LIBC_SCCS and not lint */ 36#endif /* LIBC_SCCS and not lint */
37 37
38#include <sys/localedef.h> 38#include <sys/localedef.h>
@@ -296,7 +296,7 @@ _secs(t)
296} 296}
297 297
298static int 298static int
299#if __STDC__ 299#ifdef __STDC__
300_conv(int n, int digits, char pad) 300_conv(int n, int digits, char pad)
301#else 301#else
302_conv(n, digits, pad) 302_conv(n, digits, pad)