diff options
author | 2005-11-16 14:32:15 -0800 | |
---|---|---|
committer | 2005-11-16 14:32:15 -0800 | |
commit | c0d6cdd45edfcef257bc70776167b51c0f8b53d2 (patch) | |
tree | 9e957fd4960c86f7342a6a2214b86b2eab77fc74 /inline.c | |
parent | [PATCH] skip already evaluated symbols (diff) | |
download | sparse-c0d6cdd45edfcef257bc70776167b51c0f8b53d2.tar.gz sparse-c0d6cdd45edfcef257bc70776167b51c0f8b53d2.tar.bz2 sparse-c0d6cdd45edfcef257bc70776167b51c0f8b53d2.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |