aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-04-07 16:17:17 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:19 -0700
commit5c5a1976c174c787d0df4ed7746ad6951320b102 (patch)
treeed5388399e158e3aeae663446277cf4da0858a1c /expression.h
parentMark a symbol as accessed if it's used during evaluation of the tree. (diff)
downloadsparse-5c5a1976c174c787d0df4ed7746ad6951320b102.tar.gz
sparse-5c5a1976c174c787d0df4ed7746ad6951320b102.tar.bz2
sparse-5c5a1976c174c787d0df4ed7746ad6951320b102.zip
Clean up: mark local stuff 'static', and remove unused function.
Use the "used_list" to build up the symbol tree, so that we automatically get new symbols that get discovered during evaluation.
Diffstat (limited to 'expression.h')
-rw-r--r--expression.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/expression.h b/expression.h
index 36cd8b4..8c6c607 100644
--- a/expression.h
+++ b/expression.h
@@ -133,9 +133,6 @@ struct statement *alloc_statement(struct position pos, int type);
struct token *initializer(struct expression **tree, struct token *token);
struct token *compound_statement(struct token *, struct statement *);
-extern void clean_up_statement(struct statement *stmt, void *_parent, int flags);
-extern void clean_up_symbol(struct symbol *sym, void *_parent, int flags);
-
/* The preprocessor calls this 'constant_expression()' */
#define constant_expression(token,tree) conditional_expression(token, tree)