From a6709e5e78c3253664b739ddc42a3c561141e18a Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 10 Jan 2016 12:23:04 -0500 Subject: utility: add forward declaration of sofort_main(). --- src/internal/sofort_driver_impl.h | 1 + src/sofort.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/internal/sofort_driver_impl.h b/src/internal/sofort_driver_impl.h index 5ee4952..91c6bff 100644 --- a/src/internal/sofort_driver_impl.h +++ b/src/internal/sofort_driver_impl.h @@ -8,6 +8,7 @@ #include #include "argv/argv.h" +extern int sofort_main(int, char **, char **); extern const struct argv_option sfrt_default_options[]; enum app_tags { diff --git a/src/sofort.c b/src/sofort.c index 52d9c27..b7cb22b 100644 --- a/src/sofort.c +++ b/src/sofort.c @@ -2,6 +2,7 @@ #include #include #include "sofort_version.h" +#include "sofort_driver_impl.h" #ifndef SFRT_DRIVER_FLAGS #define SFRT_DRIVER_FLAGS SFRT_DRIVER_VERBOSITY_ERRORS \ -- cgit v1.2.3