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 /inline.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 'inline.c')
-rw-r--r-- | inline.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -258,13 +258,13 @@ static struct expression_list *copy_asm_constraints(struct expression_list *in) return out; } -void set_replace(struct symbol *old, struct symbol *new) +static void set_replace(struct symbol *old, struct symbol *new) { new->replace = old; old->replace = new; } -void unset_replace(struct symbol *sym) +static void unset_replace(struct symbol *sym) { struct symbol *r = sym->replace; if (!r) { |