diff options
author | Christopher Li <sparse@chrisli.org> | 2005-04-02 10:30:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:06:31 -0700 |
commit | f765413f020fd2c97c22716320dc96b33cda7c43 (patch) | |
tree | be5c71bd9cb3a12d52d2a97147418c175b5cd280 /pre-process.c | |
parent | Give function name in non-ANSI declaration warning. (diff) | |
download | sparse-f765413f020fd2c97c22716320dc96b33cda7c43.tar.gz sparse-f765413f020fd2c97c22716320dc96b33cda7c43.tar.bz2 sparse-f765413f020fd2c97c22716320dc96b33cda7c43.zip |
[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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pre-process.c b/pre-process.c index ebc6891..0018a4b 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); |