summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 22:04:54 -0400
committermidipix <writeonce@midipix.org>2016-10-26 22:10:46 -0400
commit8fcd204b2f1998dbc1273d679a1036c2d67c2100 (patch)
tree0fd4f6b3be762d0f7a2ab8b7f90fa43ce7cba4ff /include
parent01e286068f6dd15502a4426b3f470d12d316e0cf (diff)
downloadapimagic-8fcd204b2f1998dbc1273d679a1036c2d67c2100.tar.bz2
apimagic-8fcd204b2f1998dbc1273d679a1036c2d67c2100.tar.xz
driver: status codes: refactor and normalize.
Diffstat (limited to 'include')
-rw-r--r--include/apimagic/apimagic.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h
index ec761cd..299dfeb 100644
--- a/include/apimagic/apimagic.h
+++ b/include/apimagic/apimagic.h
@@ -25,11 +25,7 @@ extern "C" {
/* status codes */
#define AMGC_OK 0x00
#define AMGC_USAGE 0x01
-#define AMGC_BAD_OPT 0x02
-#define AMGC_BAD_OPT_VAL 0x03
-#define AMGC_IO_ERROR 0xA0
-#define AMGC_MAP_ERROR 0xA1
-#define AMGC_INIT_ERROR 0xA2
+#define AMGC_ERROR 0x02
/* driver flags */
#define AMGC_DRIVER_VERBOSITY_NONE 0x0000