aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-06-10 17:03:25 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:52 -0700
commit42ebe65d4fbf4e99f1c3525d06b3244310f20f62 (patch)
treeffedf10012ac1c2c4a2062bd2908163ab82d7bbe /token.h
parentInstall the kernel source checker as "sparse" in /usr/local/bin. (diff)
downloadsparse-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.tar.gz
sparse-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.tar.bz2
sparse-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.zip
Add "-v" flag for verbose mode.
Warn about internal "not implemented yet" kinds of things only when verbose. These warnings have nothing to do with the sources we're checking, they're only good for pointing out limitations of sparse itself.
Diffstat (limited to 'token.h')
-rw-r--r--token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.h b/token.h
index e192597..6c7171d 100644
--- a/token.h
+++ b/token.h
@@ -137,7 +137,7 @@ struct token {
* This allows us to not test for NULL pointers
* when following the token->next chain..
*/
-extern int preprocessing;
+extern int preprocessing, verbose;
extern struct token eof_token_entry;
#define eof_token(x) ((x) == &eof_token_entry)