aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-09-15 11:35:24 -0700
committerJosh Triplett <josh@freedesktop.org>2007-09-15 11:35:24 -0700
commit2224d744eaf11b36ccb25c9f89186ace21f60768 (patch)
tree5344114dc75dff8fe64e3369a6521c38e3ec7f96 /validation
parentAdd test-suite annotations to function-pointer-modifier-inheritance.c (diff)
downloadsparse-2224d744eaf11b36ccb25c9f89186ace21f60768.tar.gz
sparse-2224d744eaf11b36ccb25c9f89186ace21f60768.tar.bz2
sparse-2224d744eaf11b36ccb25c9f89186ace21f60768.zip
validation: Update comment in type1.c to reflect current state of Sparse
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'validation')
-rw-r--r--validation/type1.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/validation/type1.c b/validation/type1.c
index ed49fce..4f08f88 100644
--- a/validation/type1.c
+++ b/validation/type1.c
@@ -1,12 +1,11 @@
/*
- * We get this wrong for some strange reason.
+ * Sparse used to get this wrong.
*
- * When evaluating the argument to the inline
- * function for the array, we don't properly
- * demote the "char []" to a "char *", but instead
- * we follow the dereference and get a "struct hello".
+ * When evaluating the argument to the inline function for the array, Sparse
+ * didn't properly demote the "char []" to a "char *", but instead it would
+ * follow the dereference and get a "struct hello".
*
- * Which makes no sense at all.
+ * Which made no sense at all.
*/
static inline int deref(const char *s)