diff options
author | midipix <writeonce@midipix.org> | 2015-12-14 04:06:14 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-12-14 04:06:14 -0500 |
commit | fc0fa298087ec36467f0b4c4659ae61dc577a390 (patch) | |
tree | f90ae0e15185ee0bca51987ed57ae0bf30735a46 /src/internal/argv | |
parent | 7964a7182d3423dccc94dca7db847872498982bf (diff) | |
download | sofort-fc0fa298087ec36467f0b4c4659ae61dc577a390.tar.bz2 sofort-fc0fa298087ec36467f0b4c4659ae61dc577a390.tar.xz |
argv.h: exclude static function signatures when ARGV_DRIVER is not defined.
Diffstat (limited to 'src/internal/argv')
-rw-r--r-- | src/internal/argv/argv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h index 9cb1e02..319c8bd 100644 --- a/src/internal/argv/argv.h +++ b/src/internal/argv/argv.h @@ -82,6 +82,8 @@ struct argv_ctx { const char * program; }; +#ifdef ARGV_DRIVER + static const char * argv_program_name(const char *); static void argv_usage( @@ -104,8 +106,6 @@ static void argv_free(struct argv_meta *); /* implementation of static functions */ /*------------------------------------*/ -#ifdef ARGV_DRIVER - static const struct argv_option * argv_short_option( const char * ch, const struct argv_option options[], |