summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-24 22:18:40 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:53 -0500
commitb0d024b2b8e1c1ef88b57240afdec7e85ae9d482 (patch)
tree376289d19deb5023b5418132f645e393bfa84a0a /include
parent6e198d5feecf7916fc12c683435633806152c92b (diff)
downloadperk-b0d024b2b8e1c1ef88b57240afdec7e85ae9d482.tar.bz2
perk-b0d024b2b8e1c1ef88b57240afdec7e85ae9d482.tar.xz
driver: status codes: refactor and normalize.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 46ade42..99bdb8f 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -24,10 +24,7 @@ extern "C" {
/* status codes */
#define PERK_OK 0x00
#define PERK_USAGE 0x01
-#define PERK_BAD_OPT 0x02
-#define PERK_BAD_OPT_VAL 0x03
-#define PERK_IO_ERROR 0xA0
-#define PERK_MAP_ERROR 0xA1
+#define PERK_ERROR 0x02
/* driver flags */
#define PERK_DRIVER_VERBOSITY_NONE 0x0000