diff options
author | midipix <writeonce@midipix.org> | 2016-01-09 16:50:30 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-09 16:50:30 -0500 |
commit | 2a9902da13e19e61ed81e825db05c161e279ee55 (patch) | |
tree | cf04db3f49f8c566842227aac5a56ee14cd58cc6 /src | |
parent | 5a349e333087d9901d1a046139ec942c36afcb93 (diff) | |
download | apimagic-2a9902da13e19e61ed81e825db05c161e279ee55.tar.bz2 apimagic-2a9902da13e19e61ed81e825db05c161e279ee55.tar.xz |
driver: move to header extern declaration of amgc_default_options[].
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/amgc_driver_ctx.c | 2 | ||||
-rw-r--r-- | src/internal/apimagic_driver_impl.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c index fe39dcc..4489109 100644 --- a/src/driver/amgc_driver_ctx.c +++ b/src/driver/amgc_driver_ctx.c @@ -25,8 +25,6 @@ #include "apimagic_driver_impl.h" #include "argv/argv.h" -extern const struct argv_option amgc_default_options[]; - struct amgc_driver_ctx_alloc { struct argv_meta * meta; struct amgc_action * actions; diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h index b5d4ae4..2920682 100644 --- a/src/internal/apimagic_driver_impl.h +++ b/src/internal/apimagic_driver_impl.h @@ -6,11 +6,14 @@ #include <sys/types.h> #include <apimagic/apimagic.h> +#include "argv/argv.h" #ifndef AMGC_TAB_WIDTH #define AMGC_TAB_WIDTH 8 #endif +extern const struct argv_option amgc_default_options[]; + enum app_tags { TAG_HELP, TAG_VERSION, |