split out librc-independent helpers into a dedicated header file
Many of these helpers are not special to librc, so split them out so they can be used in all source trees (including libeinfo). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -93,7 +93,7 @@ ebegin "Checking for x* func usage"
|
||||
out=$(cd ${top_srcdir}; find src -name '*.[ch]' \
|
||||
-exec grep -n -E '\<(malloc|strdup)[[:space:]]*\(' {} + \
|
||||
| grep -v \
|
||||
-e src/includes/rc-misc.h \
|
||||
-e src/includes/helpers.h \
|
||||
-e src/libeinfo/libeinfo.c)
|
||||
[ -z "${out}" ]
|
||||
eend $? "These need to be using the x* variant:"$'\n'"${out}"
|
||||
|
||||
Reference in New Issue
Block a user