summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/errno.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3a734d9bc..a2ddff936 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-24 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/sys/errno.h: Move EFTYPE to general usage because
+ it is used in libc/search.
+
2009-03-24 Corinna Vinschen <corinna@vinschen.de>
* libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
diff --git a/newlib/libc/include/sys/errno.h b/newlib/libc/include/sys/errno.h
index 36e4e5287..fc0c94aad 100644
--- a/newlib/libc/include/sys/errno.h
+++ b/newlib/libc/include/sys/errno.h
@@ -108,8 +108,8 @@ extern __IMPORT int sys_nerr;
#define EDOTDOT 76 /* Cross mount point (not really error) */
#endif
#define EBADMSG 77 /* Trying to read unreadable message */
-#ifdef __LINUX_ERRNO_EXTENSIONS__
#define EFTYPE 79 /* Inappropriate file type or format */
+#ifdef __LINUX_ERRNO_EXTENSIONS__
#define ENOTUNIQ 80 /* Given log. name not unique */
#define EBADFD 81 /* f.d. invalid for this operation */
#define EREMCHG 82 /* Remote address changed */