mirror of https://gitee.com/openkylin/libvirt.git
Fix up "make syntax-check" after the tree restructuring.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
738ee810b4
commit
b92587bc56
|
@ -0,0 +1 @@
|
|||
src/util/util.c
|
7
cfg.mk
7
cfg.mk
|
@ -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\>' \
|
||||
|
|
Loading…
Reference in New Issue