From ad27efe0c0c077dd449e10cf6c0e155b98e8d613 Mon Sep 17 00:00:00 2001 From: mickey <> Date: Fri, 25 Jul 1997 20:30:14 +0000 Subject: #if __STDC__ --> #ifdef __STDC__ --- src/lib/libc/crypt/bcrypt.c | 4 ++-- src/lib/libc/crypt/blowfish.c | 4 ++-- src/lib/libc/net/htons.c | 4 ++-- src/lib/libc/net/ntohs.c | 4 ++-- src/lib/libc/net/res_random.c | 4 ++-- src/lib/libc/string/strftime.c | 4 ++-- 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 @@ -/* $OpenBSD: bcrypt.c,v 1.8 1997/07/23 20:58:26 kstailey Exp $ */ +/* $OpenBSD: bcrypt.c,v 1.9 1997/07/25 20:29:59 mickey Exp $ */ /* * Copyright 1997 Niels Provos @@ -97,7 +97,7 @@ const static u_int8_t index_64[128] = }; #define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) -#if __STDC__ +#ifdef __STDC__ static void decode_base64(u_int8_t *buffer, u_int16_t len, u_int8_t *data) #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 @@ -/* $OpenBSD: blowfish.c,v 1.5 1997/07/23 20:58:27 kstailey Exp $ */ +/* $OpenBSD: blowfish.c,v 1.6 1997/07/25 20:30:00 mickey Exp $ */ /* * Blowfish block cipher for OpenBSD * Copyright 1997 Niels Provos @@ -441,7 +441,7 @@ Blowfish_initstate(c) } -#if __STDC__ +#ifdef __STDC__ u_int32_t Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current) #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 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: htons.c,v 1.5 1996/12/12 03:19:55 tholo Exp $"; +static char *rcsid = "$OpenBSD: htons.c,v 1.6 1997/07/25 20:30:07 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -13,7 +13,7 @@ static char *rcsid = "$OpenBSD: htons.c,v 1.5 1996/12/12 03:19:55 tholo Exp $"; #undef htons u_int16_t -#if __STDC__ +#ifdef __STDC__ htons(u_int16_t x) #else htons(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 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: ntohs.c,v 1.5 1996/12/12 03:19:56 tholo Exp $"; +static char *rcsid = "$OpenBSD: ntohs.c,v 1.6 1997/07/25 20:30:07 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -13,7 +13,7 @@ static char *rcsid = "$OpenBSD: ntohs.c,v 1.5 1996/12/12 03:19:56 tholo Exp $"; #undef ntohs u_int16_t -#if __STDC__ +#ifdef __STDC__ ntohs(u_int16_t x) #else ntohs(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 @@ -/* $OpenBSD: res_random.c,v 1.6 1997/04/30 05:57:03 tholo Exp $ */ +/* $OpenBSD: res_random.c,v 1.7 1997/07/25 20:30:08 mickey Exp $ */ /* * Copyright 1997 Niels Provos @@ -100,7 +100,7 @@ static void res_initid __P((void)); * of 0 - (mod-1) */ -#if __STDC__ +#ifdef __STDC__ static u_int16_t pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) #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 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strftime.c,v 1.7 1996/10/28 16:53:28 tholo Exp $"; +static char *rcsid = "$OpenBSD: strftime.c,v 1.8 1997/07/25 20:30:14 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -296,7 +296,7 @@ _secs(t) } static int -#if __STDC__ +#ifdef __STDC__ _conv(int n, int digits, char pad) #else _conv(n, digits, pad) -- cgit v1.2.3-55-g6feb