summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/ntohs.c
diff options
context:
space:
mode:
authormickey <>1997-07-25 20:30:14 +0000
committermickey <>1997-07-25 20:30:14 +0000
commitad27efe0c0c077dd449e10cf6c0e155b98e8d613 (patch)
treefe11b15be1bee1f50d17dcf02e134bf2a87b28be /src/lib/libc/net/ntohs.c
parent456073f2660b60df384e34cccfa1e588c7d47a4f (diff)
downloadopenbsd-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.c4
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)
7static char *rcsid = "$OpenBSD: ntohs.c,v 1.5 1996/12/12 03:19:56 tholo Exp $"; 7static 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
15u_int16_t 15u_int16_t
16#if __STDC__ 16#ifdef __STDC__
17ntohs(u_int16_t x) 17ntohs(u_int16_t x)
18#else 18#else
19ntohs(x) 19ntohs(x)