From 8d44415e4f0695ad9a0ba8ee46377b2d02e57a5a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 23 Aug 2007 23:40:28 +0000 Subject: [PATCH] * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED) (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP): Define. --- newlib/ChangeLog | 6 ++++++ newlib/libc/machine/cris/sys/errno.h | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 325054272..575f13f6e 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2007-08-24 Hans-Peter Nilsson + + * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED) + (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP): + Define. + 2007-08-23 Hidetaka Takano Reduce the memory consumption of variable argument functions diff --git a/newlib/libc/machine/cris/sys/errno.h b/newlib/libc/machine/cris/sys/errno.h index d3529754d..310388943 100644 --- a/newlib/libc/machine/cris/sys/errno.h +++ b/newlib/libc/machine/cris/sys/errno.h @@ -157,6 +157,17 @@ extern int _sys_nerr; #define ENOMEDIUM 123 /* No medium found */ #define EMEDIUMTYPE 124 /* Wrong medium type */ +#define ECANCELED 125 /* Operation Canceled */ +#define ENOKEY 126 /* Required key not available */ +#define EKEYEXPIRED 127 /* Key has expired */ +#define EKEYREVOKED 128 /* Key has been revoked */ +#define EKEYREJECTED 129 /* Key was rejected by service */ + +#define EOWNERDEAD 130 /* Owner died */ +#define ENOTRECOVERABLE 131 /* State not recoverable */ + +/* Widely known to be a synonym in Linux. */ +#define ENOTSUP EOPNOTSUPP #define __ELASTERROR 2000 /* Users can add values starting here */ -- 2.43.5