You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2019/01/11 21:50:58 UTC
[mynewt-core] 01/03: sys/defs: Add SYS_EDONE
This is an automated email from the ASF dual-hosted git repository.
ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 211640ceba5bdd9cc4926e1f77623b07ff0e308a
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Thu Dec 13 16:37:16 2018 -0800
sys/defs: Add SYS_EDONE
---
sys/defs/include/defs/error.h | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/sys/defs/include/defs/error.h b/sys/defs/include/defs/error.h
index 9d7cd0e..b2000e7 100644
--- a/sys/defs/include/defs/error.h
+++ b/sys/defs/include/defs/error.h
@@ -24,21 +24,22 @@
extern "C" {
#endif
-#define SYS_EOK (0)
-#define SYS_ENOMEM (-1)
-#define SYS_EINVAL (-2)
-#define SYS_ETIMEOUT (-3)
-#define SYS_ENOENT (-4)
-#define SYS_EIO (-5)
-#define SYS_EAGAIN (-6)
-#define SYS_EACCES (-7)
-#define SYS_EBUSY (-8)
-#define SYS_ENODEV (-9)
-#define SYS_ERANGE (-10)
-#define SYS_EALREADY (-11)
-#define SYS_ENOTSUP (-12)
-#define SYS_EUNKNOWN (-13)
+#define SYS_EOK (0)
+#define SYS_ENOMEM (-1)
+#define SYS_EINVAL (-2)
+#define SYS_ETIMEOUT (-3)
+#define SYS_ENOENT (-4)
+#define SYS_EIO (-5)
+#define SYS_EAGAIN (-6)
+#define SYS_EACCES (-7)
+#define SYS_EBUSY (-8)
+#define SYS_ENODEV (-9)
+#define SYS_ERANGE (-10)
+#define SYS_EALREADY (-11)
+#define SYS_ENOTSUP (-12)
+#define SYS_EUNKNOWN (-13)
#define SYS_EREMOTEIO (-14)
+#define SYS_EDONE (-15)
#define SYS_EPERUSER (-65535)