diff options
author | guenther <> | 2014-07-21 01:51:11 +0000 |
---|---|---|
committer | guenther <> | 2014-07-21 01:51:11 +0000 |
commit | a1d8bc2426c6d8556e2b50d906d47733bcb192f8 (patch) | |
tree | e8186a78da535872b07b3274820c1af648098427 | |
parent | f34324d947b29b5a35a325bbd3901294355b4f39 (diff) | |
download | openbsd-a1d8bc2426c6d8556e2b50d906d47733bcb192f8.tar.gz openbsd-a1d8bc2426c6d8556e2b50d906d47733bcb192f8.tar.bz2 openbsd-a1d8bc2426c6d8556e2b50d906d47733bcb192f8.zip |
Switch from <sys/endian.h> or <machine/endian.h> to the new,
being-standardized <endian.h>
ok deraadt@ millert@ beck@
-rw-r--r-- | src/lib/libc/net/htonl.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/htons.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/ntohl.c | 4 | ||||
-rw-r--r-- | src/lib/libc/net/ntohs.c | 4 | ||||
-rw-r--r-- | src/regress/lib/libc/cephes/mconf.h | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libc/net/htonl.c b/src/lib/libc/net/htonl.c index 5ab4189597..6ee6e7efbf 100644 --- a/src/lib/libc/net/htonl.c +++ b/src/lib/libc/net/htonl.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* $OpenBSD: htonl.c,v 1.6 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: htonl.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 htonl | 10 | #undef htonl |
11 | 11 | ||
diff --git a/src/lib/libc/net/htons.c b/src/lib/libc/net/htons.c index c8b73fdbb7..f48d91ee03 100644 --- a/src/lib/libc/net/htons.c +++ b/src/lib/libc/net/htons.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* $OpenBSD: htons.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: htons.c,v 1.9 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 htons | 10 | #undef htons |
11 | 11 | ||
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 | ||
diff --git a/src/lib/libc/net/ntohs.c b/src/lib/libc/net/ntohs.c index 8f345e84ad..b5ea361f83 100644 --- a/src/lib/libc/net/ntohs.c +++ b/src/lib/libc/net/ntohs.c | |||
@@ -1,11 +1,11 @@ | |||
1 | /* $OpenBSD: ntohs.c,v 1.8 2005/08/06 20:30:03 espie Exp $ */ | 1 | /* $OpenBSD: ntohs.c,v 1.9 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 ntohs | 10 | #undef ntohs |
11 | 11 | ||
diff --git a/src/regress/lib/libc/cephes/mconf.h b/src/regress/lib/libc/cephes/mconf.h index a92bd3ab64..7527193e2a 100644 --- a/src/regress/lib/libc/cephes/mconf.h +++ b/src/regress/lib/libc/cephes/mconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mconf.h,v 1.1 2011/07/02 18:11:01 martynas Exp $ */ | 1 | /* $OpenBSD: mconf.h,v 1.2 2014/07/21 01:51:11 guenther Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> | 4 | * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> |
@@ -76,7 +76,7 @@ | |||
76 | */ | 76 | */ |
77 | 77 | ||
78 | #include <sys/types.h> | 78 | #include <sys/types.h> |
79 | #include <sys/endian.h> | 79 | #include <endian.h> |
80 | 80 | ||
81 | /* Constant definitions for math error conditions | 81 | /* Constant definitions for math error conditions |
82 | */ | 82 | */ |