summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 12:58:43 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:36 -0500
commitb18054bc9db6bfdb6966d23291e2e14abda913ba (patch)
tree0db698e0b3c3e118edb96076978ef17dcf383379
parent456cde2a6602d7e786189a49694f53e7de5140d0 (diff)
downloadperk-b18054bc9db6bfdb6966d23291e2e14abda913ba.tar.bz2
perk-b18054bc9db6bfdb6966d23291e2e14abda913ba.tar.xz
utility: add forward declaration of perk_main().
-rw-r--r--src/internal/perk_driver_impl.h1
-rw-r--r--src/perk.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index 7e9e4f7..757dec0 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -9,6 +9,7 @@
#include <perk/perk_meta.h>
#include "argv/argv.h"
+extern int perk_main(int, char **, char **);
extern const struct argv_option pe_default_options[];
enum app_tags {
diff --git a/src/perk.c b/src/perk.c
index 22d42a9..352d675 100644
--- a/src/perk.c
+++ b/src/perk.c
@@ -9,6 +9,7 @@
#include <perk/perk.h>
#include <perk/perk_output.h>
#include "perk_version.h"
+#include "perk_driver_impl.h"
#ifndef PERK_DRIVER_FLAGS
#define PERK_DRIVER_FLAGS PERK_DRIVER_VERBOSITY_ERRORS \