Dear check-names, where you accept struct, also accept union.

This commit is contained in:
Gilles Peskine 2019-07-23 17:38:41 +02:00
parent 8b96cad204
commit 1d04b05fae

View file

@ -41,7 +41,7 @@ rm -f identifiers
grep '^[^ /#{]' $HEADERS | \
sed -e 's/^[^:]*://' | \
egrep -v '^(extern "C"|(typedef )?(struct|enum)( {)?$|};?$)' \
egrep -v '^(extern "C"|(typedef )?(struct|union|enum)( {)?$|};?$)' \
> _decls
if true; then