summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-26 09:36:02 +0000
committermidipix <writeonce@midipix.org>2018-07-14 22:11:25 -0400
commit57b2f5066c49b1a8fe0b67dfccdc171a834c9367 (patch)
tree3579ce57d5863f1f11e18bbd489a678647c07496 /src/internal
parent5ed577fcaa2213900475c8140ca64b873ec0713e (diff)
downloadperk-57b2f5066c49b1a8fe0b67dfccdc171a834c9367.tar.bz2
perk-57b2f5066c49b1a8fe0b67dfccdc171a834c9367.tar.xz
argv.h: move definition of struct argv_meta_impl to the implementation block.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/argv/argv.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h
index 9fff091..89d004d 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -119,12 +119,6 @@ struct argv_meta {
struct argv_entry * entries;
};
-struct argv_meta_impl {
- char ** argv;
- char * strbuf;
- struct argv_meta meta;
-};
-
struct argv_ctx {
int flags;
int mode;
@@ -139,6 +133,12 @@ struct argv_ctx {
#ifdef ARGV_DRIVER
+struct argv_meta_impl {
+ char ** argv;
+ char * strbuf;
+ struct argv_meta meta;
+};
+
static int argv_optv_init(
const struct argv_option[],
const struct argv_option **);