diff options
Diffstat (limited to 'src/lib/libc/net')
-rw-r--r-- | src/lib/libc/net/htons.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/ntohs.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/res_random.c | 4 |
3 files changed, 6 insertions, 6 deletions
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) |
7 | static char *rcsid = "$OpenBSD: htons.c,v 1.5 1996/12/12 03:19:55 tholo Exp $"; | 7 | static 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 | ||
15 | u_int16_t | 15 | u_int16_t |
16 | #if __STDC__ | 16 | #ifdef __STDC__ |
17 | htons(u_int16_t x) | 17 | htons(u_int16_t x) |
18 | #else | 18 | #else |
19 | htons(x) | 19 | 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 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #if defined(LIBC_SCCS) && !defined(lint) | 6 | #if defined(LIBC_SCCS) && !defined(lint) |
7 | static char *rcsid = "$OpenBSD: ntohs.c,v 1.5 1996/12/12 03:19:56 tholo Exp $"; | 7 | static 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 | ||
15 | u_int16_t | 15 | u_int16_t |
16 | #if __STDC__ | 16 | #ifdef __STDC__ |
17 | ntohs(u_int16_t x) | 17 | ntohs(u_int16_t x) |
18 | #else | 18 | #else |
19 | ntohs(x) | 19 | 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 @@ | |||
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__ |
104 | static u_int16_t | 104 | static u_int16_t |
105 | pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) | 105 | pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) |
106 | #else | 106 | #else |