aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pre-process.c
diff options
authorChristopher Li <sparse@chrisli.org>2005-04-02 10:30:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:06:31 -0700
commitf765413f020fd2c97c22716320dc96b33cda7c43 (patch)
treebe5c71bd9cb3a12d52d2a97147418c175b5cd280 /pre-process.c
parent47115aa79de6d344493f0fbd4b862cf7709e9099 (diff)
downloadsparse-dev-f765413f020fd2c97c22716320dc96b33cda7c43.tar.gz
[PATCH] static declear
This patch add static declare to make sparse happy of checking itself.
Diffstat (limited to 'pre-process.c')
-rw-r--r--pre-process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pre-process.c b/pre-process.c
index ebc68910..0018a4be 100644
--- a/pre-process.c
+++ b/pre-process.c
@@ -383,7 +383,6 @@ static enum token_type combine(struct token *left, struct token *right, char *p)
static int merge(struct token *left, struct token *right)
{
- extern unsigned char combinations[][3];
static char buffer[512];
int n;
@@ -1535,7 +1534,7 @@ static int handle_line(struct stream *stream, struct token **line, struct token
}
-void init_preprocessor(void)
+static void init_preprocessor(void)
{
int i;
int stream = init_stream("preprocessor", -1, includepath);