Signed-off-by: Alexey Zaytsev <alexey.zaytsev@xxxxxxxxx> --- lib.c | 2 +- lib.h | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib.c b/lib.c index 665a6b7..965fbfb 100644 --- a/lib.c +++ b/lib.c @@ -592,7 +592,7 @@ struct switches { char **(*fn)(char *, char **); }; -char **handle_switch(char *arg, char **next) +static char **handle_switch(char *arg, char **next) { static struct switches cmd[] = { { "nostdinc", handle_nostdinc }, diff --git a/lib.h b/lib.h index 42a3396..b22fa93 100644 --- a/lib.h +++ b/lib.h @@ -83,7 +83,6 @@ extern void sparse_error(struct position, const char *, ...) FORMAT_ATTR(2); extern void error_die(struct position, const char *, ...) FORMAT_ATTR(2) NORETURN_ATTR; extern void expression_error(struct expression *, const char *, ...) FORMAT_ATTR(2); -extern char **handle_switch(char *arg, char **next); extern void add_pre_buffer(const char *fmt, ...) FORMAT_ATTR(1); extern int preprocess_only; -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html