From 2c2fc82efa9c8650536288bcdcd161facb46f985 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 26 Jun 2018 09:36:02 +0000 Subject: argv.h: move definition of struct argv_meta_impl to the implementation block. --- src/internal/argv/argv.h | 12 ++++++------ 1 file 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 **); -- cgit v1.2.3