diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2007-08-24 03:40:28 +0400 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2007-08-24 03:40:28 +0400 |
commit | 8d44415e4f0695ad9a0ba8ee46377b2d02e57a5a (patch) | |
tree | b2546a4e8c1eeb0d66c277b98ee4398f399e3b79 /newlib | |
parent | e6e56f7c72648ab51f54dc7a2cfc83b9c5b9c6e5 (diff) |
* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
(EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
Define.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 6 | ||||
-rw-r--r-- | newlib/libc/machine/cris/sys/errno.h | 11 |
2 files changed, 17 insertions, 0 deletions
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 <hp@axis.com> + + * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED) + (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP): + Define. + 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 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 */ |