From a6709e5e78c3253664b739ddc42a3c561141e18a Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 10 2016 17:23:04 +0000 Subject: utility: add forward declaration of sofort_main(). --- 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 \