EHOSTUNREACH, EOVERFLOW and ECANCELED are now part of POSIX so we should adjust sys/errno.h accordingly.
- todd Index: /sys/sys/errno.h =================================================================== RCS file: /home/cvs/openbsd/src/sys/sys/errno.h,v retrieving revision 1.22 diff -u -r1.22 errno.h --- /sys/sys/errno.h 24 Nov 2009 09:22:22 -0000 1.22 +++ /sys/sys/errno.h 19 Sep 2014 16:03:05 -0000 @@ -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 */
