aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-29 10:09:02 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:50 -0700
commit5e766f5dc9e91ea93d3ae3b2b4da6ef627f45605 (patch)
tree4be3eca6bc9f920c12176ccb7393335fae56e1b5 /target.h
parentFix up integer promotion so that it works on all (diff)
downloadsparse-5e766f5dc9e91ea93d3ae3b2b4da6ef627f45605.tar.gz
sparse-5e766f5dc9e91ea93d3ae3b2b4da6ef627f45605.tar.bz2
sparse-5e766f5dc9e91ea93d3ae3b2b4da6ef627f45605.zip
Implement a C99-like _Bool type.
Right now it's a strange kind of single-bit integer. As a result, you cannot do a "sizeof" on it. Dunno what the real C99 semantics should be, and don't much care yet.
Diffstat (limited to 'target.h')
-rw-r--r--target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target.h b/target.h
index 3cd9f82..25f7948 100644
--- a/target.h
+++ b/target.h
@@ -12,6 +12,7 @@ extern int max_alignment;
/*
* Integer data types
*/
+extern int bits_in_bool;
extern int bits_in_char;
extern int bits_in_short;
extern int bits_in_int;