summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 23:54:21 -0400
committermidipix <writeonce@midipix.org>2016-10-26 00:05:09 -0400
commit7ed7e66b32a56fd1f16b73cd9aaccf59b0d64f27 (patch)
tree8bc8bdb18b642c224df8329a27773ce690d862a5 /include
parentce58c51b33372f263523a7e41e54558214c8538a (diff)
downloadsofort-7ed7e66b32a56fd1f16b73cd9aaccf59b0d64f27.tar.bz2
sofort-7ed7e66b32a56fd1f16b73cd9aaccf59b0d64f27.tar.xz
driver: status codes: refactor and normalize.
Diffstat (limited to 'include')
-rw-r--r--include/sofort/sofort.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h
index 4a59e6c..ff1fb60 100644
--- a/include/sofort/sofort.h
+++ b/include/sofort/sofort.h
@@ -21,10 +21,7 @@ extern "C" {
/* status codes */
#define SFRT_OK 0x00
#define SFRT_USAGE 0x01
-#define SFRT_BAD_OPT 0x02
-#define SFRT_BAD_OPT_VAL 0x03
-#define SFRT_IO_ERROR 0xA0
-#define SFRT_MAP_ERROR 0xA1
+#define SFRT_ERROR 0x02
/* driver flags */
#define SFRT_DRIVER_VERBOSITY_NONE 0x0000