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/net/htons.c | 4 ++-- src/lib/libc/net/ntohs.c | 4 ++-- src/lib/libc/net/res_random.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/libc/net') 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 -- cgit v1.2.3-55-g6feb