os400: do not miss some external prototypes
Build procedure extproto() did not strip braces from header files, thus possibly prepended them to true prototypes. This prevented the prototype to be recognized as such. The solution implemented here is to map braces to semicolons, effectively considering them as potential prototype delimiters.
This commit is contained in:
parent
4c4d6a8da4
commit
914157804f
@ -20,7 +20,7 @@ extproto()
|
|||||||
-e '/\/\*/!{' \
|
-e '/\/\*/!{' \
|
||||||
-e '/^#/{s/^.*[^\\]$//;h;d' \
|
-e '/^#/{s/^.*[^\\]$//;h;d' \
|
||||||
-e '}' \
|
-e '}' \
|
||||||
-e 's/\\$//' \
|
-e 's/[{}]/;/g;s/\\$//' \
|
||||||
-e ':loop1' \
|
-e ':loop1' \
|
||||||
-e '/;/{' \
|
-e '/;/{' \
|
||||||
-e 's/^[^;]*;//;x;s/;.*//' \
|
-e 's/^[^;]*;//;x;s/;.*//' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user