aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/errno.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-27 17:05:29 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-27 17:05:29 +0000
commit0ca2edaf6d0aab29eec2f08a7560fd7c7a9ea8c5 (patch)
tree00f2f2972cb22abdddd4f4920317f845fc446721 /sys/sys/errno.h
parent3e05884b949cee39dbbb8b7954ad2a8914d8cfd5 (diff)
downloadsrc-0ca2edaf6d0aab29eec2f08a7560fd7c7a9ea8c5.tar.gz
src-0ca2edaf6d0aab29eec2f08a7560fd7c7a9ea8c5.zip
Back out prev. change. According to bde:
_POSIX_SOURCE means POSIX.1-1990, not the current version of POSIX.
Notes
Notes: svn path=/head/; revision=82431
Diffstat (limited to 'sys/sys/errno.h')
-rw-r--r--sys/sys/errno.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index bdd9cbcf68ce..aacaa3d43413 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -164,14 +164,11 @@ __END_DECLS
#define ENEEDAUTH 81 /* Need authenticator */
#define EIDRM 82 /* Identifier removed */
#define ENOMSG 83 /* No message of desired type */
-#endif /* _POSIX_SOURCE */
-
#define EOVERFLOW 84 /* Value too large to be stored in data type */
-
-#ifndef _POSIX_SOURCE
#define ECANCELED 85 /* Operation canceled */
#define EILSEQ 86 /* Illegal byte sequence */
#define ELAST 86 /* Must be equal largest errno */
+
#endif /* _POSIX_SOURCE */
#ifdef _KERNEL