summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk.sh b/mk.sh
index 1fb805dd..d6341e4b 100644
--- a/mk.sh
+++ b/mk.sh
@@ -17,7 +17,7 @@ classify_source () {
echo FNTYPE
elif grep -q "^typedef " $1; then
echo TYPE
- elif grep -q "^struct .*;$" $1; then
+ elif grep -q "^struct (^ )*;$" $1; then
echo TYPE
elif grep -q "^typedef .*{$" $1; then
echo TYPE_LONG