summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-26 09:36:02 +0000
committermidipix <writeonce@midipix.org>2018-07-14 20:07:40 -0400
commit2c2fc82efa9c8650536288bcdcd161facb46f985 (patch)
treebab49bbbe61f6e9bac282eb549018a580f7c5d1b /src
parentbf88f3ed5fd8df728bb14b1a19110f7d4e65c1ca (diff)
downloadapimagic-2c2fc82efa9c8650536288bcdcd161facb46f985.tar.bz2
apimagic-2c2fc82efa9c8650536288bcdcd161facb46f985.tar.xz
argv.h: move definition of struct argv_meta_impl to the implementation block.
Diffstat (limited to 'src')
-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 533c78a..0ff4124 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 **);