summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-26 09:36:02 +0000
committermidipix <writeonce@midipix.org>2018-07-14 22:40:51 -0400
commit7383c8bc50f8fcc2bcf88625b323f6997a89892c (patch)
tree1fdc108bbd9adad93aaf2725d56c3919325af771
parent117361ce8b0acd6f0a349e62d66fbf3061305d12 (diff)
downloadsofort-7383c8bc50f8fcc2bcf88625b323f6997a89892c.tar.bz2
sofort-7383c8bc50f8fcc2bcf88625b323f6997a89892c.tar.xz
argv.h: move definition of struct argv_meta_impl to the implementation block.
-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 cd80eb8..f55fc28 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 **);