summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 12:20:14 -0500
committermidipix <writeonce@midipix.org>2016-01-10 12:20:14 -0500
commit0090d874f5220355c51a9b01a22ed9dd672ff7d1 (patch)
tree7ede35b4e9ba2753b71f917cfe4cc263fb48c5ac /src
parent4a749a765f6f5a3998d9721e9be5ec3bc52d8a7b (diff)
downloadsofort-0090d874f5220355c51a9b01a22ed9dd672ff7d1.tar.bz2
sofort-0090d874f5220355c51a9b01a22ed9dd672ff7d1.tar.xz
driver: move to header extern declaration of sfrt_default_options[].
Diffstat (limited to 'src')
-rw-r--r--src/driver/sfrt_driver_ctx.c2
-rw-r--r--src/internal/sofort_driver_impl.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/driver/sfrt_driver_ctx.c b/src/driver/sfrt_driver_ctx.c
index 0989d58..6c7baee 100644
--- a/src/driver/sfrt_driver_ctx.c
+++ b/src/driver/sfrt_driver_ctx.c
@@ -8,8 +8,6 @@
#include "sofort_driver_impl.h"
#include "argv/argv.h"
-extern const struct argv_option sfrt_default_options[];
-
struct sfrt_driver_ctx_alloc {
struct argv_meta * meta;
struct sfrt_driver_ctx_impl ctx;
diff --git a/src/internal/sofort_driver_impl.h b/src/internal/sofort_driver_impl.h
index d9aa364..5ee4952 100644
--- a/src/internal/sofort_driver_impl.h
+++ b/src/internal/sofort_driver_impl.h
@@ -6,6 +6,9 @@
#include <sys/types.h>
#include <sofort/sofort.h>
+#include "argv/argv.h"
+
+extern const struct argv_option sfrt_default_options[];
enum app_tags {
TAG_HELP,