Commit 3c400ee8 authored by jetru's avatar jetru

check_headers: look for leading spaces as well

parent 9b7d3dcc
......@@ -9,7 +9,7 @@ regexp="$(cat ../config.h.in | \
sed -n -e 's/^#undef \([A-Z0-9_]*\)$/\1/p' | \
grep -v 'WORDS_BIGENDIAN' | \
xargs | \
sed -e 's/ /\\\| /g' | sed -e 's/\\|/\$\\|/g')"
sed -e 's/ /\\\(\\s\\\|$\\\)\\\| /g')"
regexp=" $regexp\$"
echo Looking for private defines in public headers...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment