diff options
author | midipix <writeonce@midipix.org> | 2016-11-02 00:02:50 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-02 00:02:50 -0400 |
commit | 210852cf8a3ff68e5963a4bf76a13b10e806ae7a (patch) | |
tree | 9f9343a6d93f5120a3ac98e3f92c778827017b8a | |
parent | 61802e1fa57e729cc582536c0d32e2c2bd2c9895 (diff) | |
download | slibtool-210852cf8a3ff68e5963a4bf76a13b10e806ae7a.tar.bz2 slibtool-210852cf8a3ff68e5963a4bf76a13b10e806ae7a.tar.xz |
error trace: enum slbt_custom_error: defined right after error flag macros.
-rw-r--r-- | include/slibtool/slibtool.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 6eee2a4..25820be 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -25,20 +25,6 @@ extern "C" { #define SLBT_USAGE 0x01 #define SLBT_ERROR 0x02 -enum slbt_custom_error { - SLBT_ERR_FLOW_ERROR, - SLBT_ERR_FLEE_ERROR, - SLBT_ERR_ARCHIVE_IMPORT, - SLBT_ERR_HOST_INIT, - SLBT_ERR_INSTALL_FAIL, - SLBT_ERR_INSTALL_FLOW, - SLBT_ERR_INSTALL_REV, - SLBT_ERR_LDRPATH_INIT, - SLBT_ERR_LINK_FLOW, - SLBT_ERR_LINK_FREQ, - SLBT_ERR_UNINSTALL_FAIL, -}; - /* driver flags */ #define SLBT_DRIVER_VERBOSITY_NONE 0x0000 #define SLBT_DRIVER_VERBOSITY_ERRORS 0x0001 @@ -83,6 +69,20 @@ enum slbt_custom_error { #define SLBT_ERROR_CHILD 0x0004 #define SLBT_ERROR_CUSTOM 0x0008 +enum slbt_custom_error { + SLBT_ERR_FLOW_ERROR, + SLBT_ERR_FLEE_ERROR, + SLBT_ERR_ARCHIVE_IMPORT, + SLBT_ERR_HOST_INIT, + SLBT_ERR_INSTALL_FAIL, + SLBT_ERR_INSTALL_FLOW, + SLBT_ERR_INSTALL_REV, + SLBT_ERR_LDRPATH_INIT, + SLBT_ERR_LINK_FLOW, + SLBT_ERR_LINK_FREQ, + SLBT_ERR_UNINSTALL_FAIL, +}; + /* execution modes */ enum slbt_mode { SLBT_MODE_UNKNOWN, |