summaryrefslogtreecommitdiffhomepage
path: root/src/internal/argv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-26 09:36:02 +0000
committermidipix <writeonce@midipix.org>2018-07-15 11:01:58 -0400
commita06fe2acd3bd01c789f5ad997e726f9548d369e0 (patch)
tree75afd84d2933dd774d01beefa6cbbdce20086944 /src/internal/argv
parentab99f6b4ae8529f6ffc4cbdafd3e24581adb0fbd (diff)
downloadptycon-a06fe2acd3bd01c789f5ad997e726f9548d369e0.tar.bz2
ptycon-a06fe2acd3bd01c789f5ad997e726f9548d369e0.tar.xz
argv.h: move definition of struct argv_meta_impl to the implementation block.
Diffstat (limited to 'src/internal/argv')
-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 23cee37..32f6b4d 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 **);