Update the calling interface to "sparse()".
commit2c36119df5a9bf9ad04f665961721fdeb7ca7551
authorLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 Aug 2005 01:36:00 +0000 (3 18:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 Aug 2005 01:36:00 +0000 (3 18:36 -0700)
tree295dc51738bf051de50b581c7ccb5c5fe220e146
parent29d1ef3aac738226ede774080852bd3191804235
Update the calling interface to "sparse()".

Start off with

sparse_initialize(argc, argv);

which will return the number of filenames found.  You can then use that,
or just check if *argv is NULL in a loop like

while (*argv)
list = sparse(argv);

where you get the declaration list for each file in turn.
15 files changed:
check.c
compile-i386.c
compile.c
example.c
lib.c
lib.h
obfuscate.c
pre-process.c
scope.c
symbol.h
test-lexing.c
test-linearize.c
test-parsing.c
token.h
tokenize.c