summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index d89e0d6e8..d73503881 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -102,7 +102,8 @@ sc_cast_of_argument_to_free:
exit 1; } || :
sc_cast_of_x_alloc_return_value:
- @grep -nE --exclude=$(srcdir)/lib/regex.c \
+ @grep -nE --exclude=$(srcdir)/lib/xalloc.h \
+ --exclude=$(srcdir)/lib/regex.c \
'\*\) *x(m|c|re)alloc\>' \
$(srcdir)/{lib,src}/*.[chy] && \
{ echo '$(ME): don'\''t cast x*alloc return value' 1>&2; \