summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-14 04:18:49 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:32 -0500
commitc0d0f387ec6bd1297f4dd9f641aa115225ab58d2 (patch)
tree2191fde9f61825406d2037ab28fdaade61da05c5
parent720609bc5156b924f696b7882476187a0b9f83c7 (diff)
downloadperk-c0d0f387ec6bd1297f4dd9f641aa115225ab58d2.tar.bz2
perk-c0d0f387ec6bd1297f4dd9f641aa115225ab58d2.tar.xz
argv.h: exclude static function signatures when ARGV_DRIVER is not defined.
-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 b6be2a8..83568d5 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[],