From 97d20855e5a5d9e24367c0deb82c2159e2dc819f Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 9 Jan 2016 17:40:43 -0500 Subject: utility: add forward declaration of apimagic_main(). --- src/apimagic.c | 1 + src/internal/apimagic_driver_impl.h | 1 + 2 files changed, 2 insertions(+) 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 #include #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 { -- cgit v1.2.3