diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-02 19:22:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:01:41 -0700 |
commit | 1ff960b29aace99f69979fc78cf5ef204e1262a6 (patch) | |
tree | af3616af10dc862638c0dc51717358c7f7f0159d /test-parsing.c | |
parent | Now that BITS_IN_XXXX aren't defined contstants any more, (diff) | |
download | sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.tar.gz sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.tar.bz2 sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.zip |
Initialize C type system after parsing the command line arguments.
This makes "-m64" actually work.
Diffstat (limited to 'test-parsing.c')
-rw-r--r-- | test-parsing.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-parsing.c b/test-parsing.c index e413448..c01e21b 100644 --- a/test-parsing.c +++ b/test-parsing.c @@ -51,6 +51,9 @@ int main(int argc, char **argv) filename = arg; } + // Initialize type system + init_ctype(); + fd = open(filename, O_RDONLY); if (fd < 0) die("No such file: %s", argv[1]); |