commit | 1d04b05fae0fc7f475aa6e17eaeb4b61a16f3125 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Jul 23 17:38:41 2019 +0200 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Jul 23 17:38:41 2019 +0200 |
tree | 87d3e4f49796caecd568983703a784b649c0e5b4 | |
parent | 8b96cad20483554ff3d7825d8c94807bdd2ce3ca [diff] [blame] |
Dear check-names, where you accept struct, also accept union.
diff --git a/tests/scripts/list-identifiers.sh b/tests/scripts/list-identifiers.sh index eaf270c..4828c80 100755 --- a/tests/scripts/list-identifiers.sh +++ b/tests/scripts/list-identifiers.sh
@@ -41,7 +41,7 @@ grep '^[^ /#{]' $HEADERS | \ sed -e 's/^[^:]*://' | \ - egrep -v '^(extern "C"|(typedef )?(struct|enum)( {)?$|};?$)' \ + egrep -v '^(extern "C"|(typedef )?(struct|union|enum)( {)?$|};?$)' \ > _decls if true; then