diff options
| author | guenther <> | 2014-07-21 01:51:11 +0000 |
|---|---|---|
| committer | guenther <> | 2014-07-21 01:51:11 +0000 |
| commit | 647ed8b748366264474c5e4d37d07789ac48458f (patch) | |
| tree | e8186a78da535872b07b3274820c1af648098427 /src/lib/libc/net/ntohl.c | |
| parent | e1e31280b22a03036aa16e7c3814eedfa8ce1be4 (diff) | |
| download | openbsd-647ed8b748366264474c5e4d37d07789ac48458f.tar.gz openbsd-647ed8b748366264474c5e4d37d07789ac48458f.tar.bz2 openbsd-647ed8b748366264474c5e4d37d07789ac48458f.zip | |
Switch from <sys/endian.h> or <machine/endian.h> to the new,
being-standardized <endian.h>
ok deraadt@ millert@ beck@
Diffstat (limited to 'src/lib/libc/net/ntohl.c')
| -rw-r--r-- | src/lib/libc/net/ntohl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/ntohl.c b/src/lib/libc/net/ntohl.c index 36414b7a13..0d05bac78a 100644 --- a/src/lib/libc/net/ntohl.c +++ b/src/lib/libc/net/ntohl.c | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | /* $OpenBSD: ntohl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: ntohl.c,v 1.7 2014/07/21 01:51:10 guenther Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by J.T. Conklin <jtc@netbsd.org>. | 3 | * Written by J.T. Conklin <jtc@netbsd.org>. |
| 4 | * Public domain. | 4 | * Public domain. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <sys/types.h> | 7 | #include <sys/types.h> |
| 8 | #include <machine/endian.h> | 8 | #include <endian.h> |
| 9 | 9 | ||
| 10 | #undef ntohl | 10 | #undef ntohl |
| 11 | 11 | ||
