add macro file for coccinelle
commit3f7a899ff4e0681ed148b1cea07dc65550114fdb
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Sep 2015 07:50:09 +0000 (7 09:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Sep 2015 13:34:55 +0000 (9 15:34 +0200)
treedac2b692e52a090d7e96225aa1527b536f504079
parentc765fcac96e111199225c7387c01694fe076b341
add macro file for coccinelle

Coccinelle chokes on some idioms from compiler.h and queue.h.
Extract those in a macro file, to be used with "--macro-file
scripts/cocci-macro-file.h".

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/cocci-macro-file.h [new file with mode: 0644]