summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 16:28:45 -0500
committermidipix <writeonce@midipix.org>2016-11-11 00:22:34 -0500
commit5cffdaafc6c6acf4d9f0012f6953759ef3a7c851 (patch)
tree8096d79d9d3f9f59758d784026ea8c465f3774b0
parenta5071fe5e58723937b4d8482a7b87b03a2b7f379 (diff)
downloadmdso-5cffdaafc6c6acf4d9f0012f6953759ef3a7c851.tar.bz2
mdso-5cffdaafc6c6acf4d9f0012f6953759ef3a7c851.tar.xz
utility: add forward declaration of mdso_main().
-rw-r--r--src/internal/mdso_driver_impl.h1
-rw-r--r--src/mdso.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/mdso_driver_impl.h b/src/internal/mdso_driver_impl.h
index a697528..f5b0620 100644
--- a/src/internal/mdso_driver_impl.h
+++ b/src/internal/mdso_driver_impl.h
@@ -8,6 +8,7 @@
#include <mdso/mdso.h>
#include "argv/argv.h"
+extern int mdso_main(int, char **, char **);
extern const struct argv_option mdso_default_options[];
enum app_tags {
diff --git a/src/mdso.c b/src/mdso.c
index 5cbcfce..4f01518 100644
--- a/src/mdso.c
+++ b/src/mdso.c
@@ -9,6 +9,7 @@
#include <mdso/mdso.h>
#include <mdso/mdso_output.h>
#include "mdso_version.h"
+#include "mdso_driver_impl.h"
#ifndef MDSO_DRIVER_FLAGS
#define MDSO_DRIVER_FLAGS MDSO_DRIVER_VERBOSITY_ERRORS \