aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
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 /validation
parent617f2d7fd96b2d8c7c4ffa1aa5dbf09abda9d641 (diff)
downloadsparse-dev-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 'validation')
-rw-r--r--validation/varargs1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/varargs1.c b/validation/varargs1.c
index 6ae66be9..19b7579c 100644
--- a/validation/varargs1.c
+++ b/validation/varargs1.c
@@ -1,5 +1,5 @@
extern int foo (const char *, ...);
-void error(const char err[])
+void sparse_error(const char err[])
{
foo("%s\n",err);
}