diff options
author | mickey <> | 1997-07-25 20:30:14 +0000 |
---|---|---|
committer | mickey <> | 1997-07-25 20:30:14 +0000 |
commit | ad27efe0c0c077dd449e10cf6c0e155b98e8d613 (patch) | |
tree | fe11b15be1bee1f50d17dcf02e134bf2a87b28be /src/lib/libc/net/ntohs.c | |
parent | 456073f2660b60df384e34cccfa1e588c7d47a4f (diff) | |
download | openbsd-ad27efe0c0c077dd449e10cf6c0e155b98e8d613.tar.gz openbsd-ad27efe0c0c077dd449e10cf6c0e155b98e8d613.tar.bz2 openbsd-ad27efe0c0c077dd449e10cf6c0e155b98e8d613.zip |
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'src/lib/libc/net/ntohs.c')
-rw-r--r-- | src/lib/libc/net/ntohs.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |