* build-aux/declared.sh (sed_extract_extern_declared): Allow the space
before the symbol to be omitted if the preceding character is a '*'.
+2019-02-05 Bruno Haible <bruno@clisp.org>
+
+ declared.sh: Fix bug with variables of pointer type.
+ * build-aux/declared.sh (sed_extract_extern_declared): Allow the space
+ before the symbol to be omitted if the preceding character is a '*'.
+
2019-02-04 Bruno Haible <bruno@clisp.org>
Add script for running tests under valgrind.
}'
# A sed expression that extracts the identifier of each 'extern' declaration.
-sed_extract_extern_declared='s/^extern [^()]* \([A-Za-z_][A-Za-z0-9_]*\) *[;(].*$/\1/p'
+sed_extract_extern_declared='s/^extern [^()]*[ *]\([A-Za-z_][A-Za-z0-9_]*\) *[;(].*$/\1/p'
sed -e "$sed_remove_comments" \
| sed -e "$sed_join_multiline_externs" \