aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/evaluate.c
diff options
context:
space:
mode:
authorChristopher Li <sparse@chrisli.org>2009-07-10 11:19:22 -0700
committerChristopher Li <sparse@chrisli.org>2009-07-19 02:17:32 +0000
commit8cf99394ee4c08a3ede8ef52cd0b3ce73afcf076 (patch)
tree9b280f75bda93d150735509c86f98a68439b9837 /evaluate.c
parent37f041aba632b7ffc46eb779df07804d9d7d547a (diff)
downloadsparse-8cf99394ee4c08a3ede8ef52cd0b3ce73afcf076.tar.gz
move extern inline function to file scope
In gcc extern inline function has special meaning. The inline function will never emit stand alone copy of the function. It also allow multiple implementations cross different file. That effectively makes the extern inline has file scope. Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'evaluate.c')
-rw-r--r--evaluate.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/evaluate.c b/evaluate.c
index b63fa367..1ab5ae8b 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -536,11 +536,6 @@ static inline int lvalue_expression(struct expression *expr)
return expr->type == EXPR_PREOP && expr->op == '*';
}
-static inline int is_function(struct symbol *type)
-{
- return type && type->type == SYM_FN;
-}
-
static struct symbol *evaluate_ptr_add(struct expression *expr, struct symbol *itype)
{
struct expression *index = expr->right;