aboutsummaryrefslogtreecommitdiff
path: root/lib.c
diff options
context:
space:
mode:
authorAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-12-17 22:01:18 +0300
committerAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-12-18 20:30:22 +0300
commit5e48e6b76709bd7f0d520054889884b1ad8fa24c (patch)
treeb6a9cac554f40f1bda0a3183f65790b745ec651b /lib.c
parentLooks more evident this way. (diff)
downloadsparse-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>
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 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 },