summaryrefslogtreecommitdiffstats
path: root/jove.h
diff options
context:
space:
mode:
Diffstat (limited to 'jove.h')
-rw-r--r--jove.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/jove.h b/jove.h
index 28e3388..7e84da8 100644
--- a/jove.h
+++ b/jove.h
@@ -14,16 +14,8 @@ extern int errno;
errno = e; \
return 0
-#define EBADOBJ -1
-#define EOOB -2
-#define EBADPATH -3
-#define EBADARG -4
-#define ETOOSMALL -5
-#define ETOOBIG -6
-#define EBADSIZE -7
-#define ENOMAP -8
-#define EHASMAP -9
-#define EALIGN -10
-#define EEXIST -11
+#include "api/error.h"
+
+const char *errstr(int errno);
#endif