summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-09-19 16:50:20 +0000
committermillert <millert@openbsd.org>2014-09-19 16:50:20 +0000
commita68ac3019f345c9fa5010c413d0a5f60ae7126f3 (patch)
tree9373057da1e30e1e8116a0a407b686b574c56ffc /sys
parentadd missing break statements giving alaw encoding (diff)
downloadwireguard-openbsd-a68ac3019f345c9fa5010c413d0a5f60ae7126f3.tar.xz
wireguard-openbsd-a68ac3019f345c9fa5010c413d0a5f60ae7126f3.zip
Move EHOSTUNREACH, EOVERFLOW and ECANCELED out from under __BSD_VISIBLE
since modern POSIX specifies them. OK guenther@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/errno.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index 59a8f0710a2..57ce2dbae7b 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: errno.h,v 1.22 2009/11/24 09:22:22 guenther Exp $ */
+/* $OpenBSD: errno.h,v 1.23 2014/09/19 16:50:20 millert Exp $ */
/* $NetBSD: errno.h,v 1.10 1996/01/20 01:33:53 jtc Exp $ */
/*
@@ -125,8 +125,8 @@
/* should be rearranged */
#if __BSD_VISIBLE
#define EHOSTDOWN 64 /* Host is down */
-#define EHOSTUNREACH 65 /* No route to host */
#endif /* __BSD_VISIBLE */
+#define EHOSTUNREACH 65 /* No route to host */
#define ENOTEMPTY 66 /* Directory not empty */
/* quotas & mush */
@@ -161,9 +161,9 @@
#if __BSD_VISIBLE
#define ENOMEDIUM 85 /* No medium found */
#define EMEDIUMTYPE 86 /* Wrong Medium Type */
+#endif /* __BSD_VISIBLE */
#define EOVERFLOW 87 /* Conversion overflow */
#define ECANCELED 88 /* Operation canceled */
-#endif /* __BSD_VISIBLE */
#define EIDRM 89 /* Identifier removed */
#define ENOMSG 90 /* No message of desired type */
#define ENOTSUP 91 /* Not supported */