aboutsummaryrefslogtreecommitdiffstats
path: root/inline.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-16 14:32:15 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-16 14:32:15 -0800
commitc0d6cdd45edfcef257bc70776167b51c0f8b53d2 (patch)
tree9e957fd4960c86f7342a6a2214b86b2eab77fc74 /inline.c
parent617f2d7fd96b2d8c7c4ffa1aa5dbf09abda9d641 (diff)
downloadsparse-c0d6cdd45edfcef257bc70776167b51c0f8b53d2.tar.gz
Re-name "error()" function to "sparse_error()"
Mitesh Shah (and others) report that broken libc's will have their own "error()" that the sparse naming clashes with. So use a sed-script to rewrite all the occurrences. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'inline.c')
-rw-r--r--inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inline.c b/inline.c
index 7aff9bc7..88c442e9 100644
--- a/inline.c
+++ b/inline.c
@@ -469,7 +469,7 @@ int inline_function(struct expression *expr, struct symbol *sym)
struct expression *arg;
if (!fn->inline_stmt) {
- error(fn->pos, "marked inline, but without a definition");
+ sparse_error(fn->pos, "marked inline, but without a definition");
return 0;
}
if (fn->expanding)