diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-25 20:30:28 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-25 20:30:28 +0000 |
commit | 7baa7d06cf60a96d45c4a33ac4b83042a409e6f0 (patch) | |
tree | 535f30ade3133c1d8d84a06136dd0f216024ffb3 /lib/libc/net | |
parent | 1626c644fa840e7d0e3178a0c02abb959cbb2d39 (diff) |
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/htons.c | 4 | ||||
-rw-r--r-- | lib/libc/net/ntohs.c | 4 | ||||
-rw-r--r-- | lib/libc/net/res_random.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/net/htons.c b/lib/libc/net/htons.c index e647d8c91e4..47cf25952db 100644 --- a/lib/libc/net/htons.c +++ b/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 <sys/types.h> @@ -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/lib/libc/net/ntohs.c b/lib/libc/net/ntohs.c index 129729aa323..cf6414d4a63 100644 --- a/lib/libc/net/ntohs.c +++ b/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 <sys/types.h> @@ -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/lib/libc/net/res_random.c b/lib/libc/net/res_random.c index f3514542027..bd32a50c332 100644 --- a/lib/libc/net/res_random.c +++ b/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 <provos@physnet.uni-hamburg.de> @@ -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 |