summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-14 04:06:14 -0500
committermidipix <writeonce@midipix.org>2015-12-14 04:06:14 -0500
commitfc0fa298087ec36467f0b4c4659ae61dc577a390 (patch)
treef90ae0e15185ee0bca51987ed57ae0bf30735a46 /src/internal
parent7964a7182d3423dccc94dca7db847872498982bf (diff)
downloadsofort-fc0fa298087ec36467f0b4c4659ae61dc577a390.tar.bz2
sofort-fc0fa298087ec36467f0b4c4659ae61dc577a390.tar.xz
argv.h: exclude static function signatures when ARGV_DRIVER is not defined.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/argv/argv.h4
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[],