Fix up "make syntax-check" after the tree restructuring.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
Chris Lalancette 2009-09-23 14:58:13 +02:00
parent 738ee810b4
commit b92587bc56
2 changed files with 4 additions and 4 deletions

1
.x-sc_prohibit_strncpy Normal file
View File

@ -0,0 +1 @@
src/util/util.c

7
cfg.mk
View File

@ -92,10 +92,9 @@ sc_prohibit_asprintf:
$(_prohibit_regexp)
sc_prohibit_strncpy:
@grep -nE 'strncpy *\(' \
$$($(VC_LIST) | grep -v 'src/util.c') && \
{ echo '$(ME): use virStrncpy, not strncpy' \
1>&2; exit 1; } || :
@re='strncpy *\(' \
msg='use virStrncpy, not strncpy' \
$(_prohibit_regexp)
sc_prohibit_VIR_ERR_NO_MEMORY:
@re='\<V''IR_ERR_NO_MEMORY\>' \