spatch: fix Linux's typedef coccis
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 27 Sep 2019 16:29:48 +0000 (12:29 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:11:10 +0000 (17:11 -0400)
commit9ce799f5a81541bbc7472b53696bc2a4390c83eb
tree0f6f21ac147625fc549d4aff308279a5f1edb5dd
parentab58204edfba565a724724faf9a8e7e9ccce94fb
spatch: fix Linux's typedef coccis

You need to tell spatch about typedefs that aren't part of C.  'int' is
fine.  'uint32_t' is not.  I'm not sure if this worked before, or if
more recent versions of spatch started to fail for it.  The Plan 9
cocci files were fine.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
scripts/spatch/linux/scalar.cocci