mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-26 19:33:39 +08:00
test/check-xfunc-usage.sh: allow '__attribute__ ((malloc ())'
This commit is contained in:
parent
ca1901ea70
commit
f1543bdcab
@ -7,7 +7,8 @@ ebegin "Checking for x* func usage"
|
||||
out=$(cd ${top_srcdir}; find src -name '*.[ch]' \
|
||||
! -name queue.h \
|
||||
-exec grep -n -E '\<(malloc|strdup)[[:space:]]*\(' {} + \
|
||||
| grep -v \
|
||||
| grep -v -E \
|
||||
-e '__attribute__[[:space:]]*\(\(malloc' \
|
||||
-e src/shared/helpers.h \
|
||||
-e src/libeinfo/libeinfo.c)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user