mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
syntax-check: update strcase check to refer to GLib
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
c061fc2603
commit
969f83822b
@ -590,7 +590,7 @@ sc_avoid_ctype_macros:
|
|||||||
|
|
||||||
sc_avoid_strcase:
|
sc_avoid_strcase:
|
||||||
@prohibit='\bstrn?case(cmp|str) *\(' \
|
@prohibit='\bstrn?case(cmp|str) *\(' \
|
||||||
halt='use c-strcase.h instead of raw strcase functions' \
|
halt='use GLib strcase functions instead of raw strcase functions' \
|
||||||
$(_sc_search_regexp)
|
$(_sc_search_regexp)
|
||||||
|
|
||||||
sc_prohibit_virBufferAdd_with_string_literal:
|
sc_prohibit_virBufferAdd_with_string_literal:
|
||||||
|
Loading…
Reference in New Issue
Block a user