diff options
author | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-12-17 22:01:18 +0300 |
---|---|---|
committer | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-12-18 20:30:22 +0300 |
commit | 5e48e6b76709bd7f0d520054889884b1ad8fa24c (patch) | |
tree | b6a9cac554f40f1bda0a3183f65790b745ec651b | |
parent | Looks more evident this way. (diff) | |
download | sparse-5e48e6b76709bd7f0d520054889884b1ad8fa24c.tar.gz sparse-5e48e6b76709bd7f0d520054889884b1ad8fa24c.tar.bz2 sparse-5e48e6b76709bd7f0d520054889884b1ad8fa24c.zip |
Mark handle_switch as static and don't export it from lib.h
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
-rw-r--r-- | lib.c | 2 | ||||
-rw-r--r-- | lib.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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 }, @@ -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; |