diff options
author | midipix <writeonce@midipix.org> | 2016-01-10 12:23:04 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-10 12:23:04 -0500 |
commit | a6709e5e78c3253664b739ddc42a3c561141e18a (patch) | |
tree | 54938d9685d278303f3186e4cc0b345df1767323 | |
parent | 0090d874f5220355c51a9b01a22ed9dd672ff7d1 (diff) | |
download | sofort-a6709e5e78c3253664b739ddc42a3c561141e18a.tar.bz2 sofort-a6709e5e78c3253664b739ddc42a3c561141e18a.tar.xz |
utility: add forward declaration of sofort_main().
-rw-r--r-- | src/internal/sofort_driver_impl.h | 1 | ||||
-rw-r--r-- | src/sofort.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 <sofort/sofort.h> #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 <unistd.h> #include <sofort/sofort.h> #include "sofort_version.h" +#include "sofort_driver_impl.h" #ifndef SFRT_DRIVER_FLAGS #define SFRT_DRIVER_FLAGS SFRT_DRIVER_VERBOSITY_ERRORS \ |