c0d0f3 argv.h: exclude static function signatures when ARGV_DRIVER is not defined.

Authored and Committed by midipix 8 years ago
    argv.h: exclude static function signatures when ARGV_DRIVER is not defined.
    
        
file modified
+2 -2
src/internal/argv/argv.h CHANGED
@@ -82,6 +82,8 @@ struct argv_ctx {
82
82
const char * program;
83
83
};
84
84
85
+ #ifdef ARGV_DRIVER
86
+
85
87
static const char * argv_program_name(const char *);
86
88
87
89
static void argv_usage(
@@ -104,8 +106,6 @@ static void argv_free(struct argv_meta *);
104
106
/* implementation of static functions */
105
107
/*------------------------------------*/
106
108
107
- #ifdef ARGV_DRIVER
108
-
109
109
static const struct argv_option * argv_short_option(
110
110
const char * ch,
111
111
const struct argv_option options[],