summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-09 17:40:43 -0500
committermidipix <writeonce@midipix.org>2016-01-09 17:40:43 -0500
commit97d20855e5a5d9e24367c0deb82c2159e2dc819f (patch)
treecacfec26d531a584399de867402876bc14802c43 /src
parent49cc053cfe974d7f30d4e3a0d102e6e44e96cb79 (diff)
downloadapimagic-97d20855e5a5d9e24367c0deb82c2159e2dc819f.tar.bz2
apimagic-97d20855e5a5d9e24367c0deb82c2159e2dc819f.tar.xz
utility: add forward declaration of apimagic_main().
Diffstat (limited to 'src')
-rw-r--r--src/apimagic.c1
-rw-r--r--src/internal/apimagic_driver_impl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/apimagic.c b/src/apimagic.c
index fc7e3f1..670a6cc 100644
--- a/src/apimagic.c
+++ b/src/apimagic.c
@@ -8,6 +8,7 @@
#include <unistd.h>
#include <apimagic/apimagic.h>
#include "apimagic_version.h"
+#include "apimagic_driver_impl.h"
#ifndef AMGC_DRIVER_FLAGS
#define AMGC_DRIVER_FLAGS AMGC_DRIVER_VERBOSITY_ERRORS \
diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h
index 2920682..c3aa6a6 100644
--- a/src/internal/apimagic_driver_impl.h
+++ b/src/internal/apimagic_driver_impl.h
@@ -12,6 +12,7 @@
#define AMGC_TAB_WIDTH 8
#endif
+extern int apimagic_main(int, char **, char **);
extern const struct argv_option amgc_default_options[];
enum app_tags {