summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 16:25:59 -0500
committermidipix <writeonce@midipix.org>2016-11-11 00:22:34 -0500
commita5071fe5e58723937b4d8482a7b87b03a2b7f379 (patch)
treeab42ad0f5a20dc8063325cfc5eb99485b4a35a6f
parent13aa9b129841e87e1d552b4be13270b887f0ab0a (diff)
downloadmdso-a5071fe5e58723937b4d8482a7b87b03a2b7f379.tar.bz2
mdso-a5071fe5e58723937b4d8482a7b87b03a2b7f379.tar.xz
driver: move to header extern declaration of mdso_default_options[].
-rw-r--r--src/driver/mdso_driver_ctx.c2
-rw-r--r--src/internal/mdso_driver_impl.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/driver/mdso_driver_ctx.c b/src/driver/mdso_driver_ctx.c
index c1aa036..2fe066b 100644
--- a/src/driver/mdso_driver_ctx.c
+++ b/src/driver/mdso_driver_ctx.c
@@ -19,8 +19,6 @@
#include "mdso_driver_impl.h"
#include "argv/argv.h"
-extern const struct argv_option mdso_default_options[];
-
struct mdso_driver_ctx_alloc {
struct argv_meta * meta;
struct mdso_driver_ctx_impl ctx;
diff --git a/src/internal/mdso_driver_impl.h b/src/internal/mdso_driver_impl.h
index d7f134a..a697528 100644
--- a/src/internal/mdso_driver_impl.h
+++ b/src/internal/mdso_driver_impl.h
@@ -6,6 +6,9 @@
#include <sys/types.h>
#include <mdso/mdso.h>
+#include "argv/argv.h"
+
+extern const struct argv_option mdso_default_options[];
enum app_tags {
TAG_HELP,