mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-31 05:57:16 +00:00
maint: enforce recent N_ usage
* cfg.mk (sc_prohibit_gettext_noop): New rule applied in "make syntax-check"
This commit is contained in:
parent
e7d29e234c
commit
bc3f582bb0
5
cfg.mk
5
cfg.mk
@ -105,6 +105,11 @@ sc_prohibit_gethostname:
|
|||||||
msg='use virGetHostname, not gethostname' \
|
msg='use virGetHostname, not gethostname' \
|
||||||
$(_prohibit_regexp)
|
$(_prohibit_regexp)
|
||||||
|
|
||||||
|
sc_prohibit_gettext_noop:
|
||||||
|
@re='gettext_noop *\(' \
|
||||||
|
msg='use _N, not gettext_noop' \
|
||||||
|
$(_prohibit_regexp)
|
||||||
|
|
||||||
sc_prohibit_VIR_ERR_NO_MEMORY:
|
sc_prohibit_VIR_ERR_NO_MEMORY:
|
||||||
@re='\<V''IR_ERR_NO_MEMORY\>' \
|
@re='\<V''IR_ERR_NO_MEMORY\>' \
|
||||||
msg='use virReportOOMError, not V'IR_ERR_NO_MEMORY \
|
msg='use virReportOOMError, not V'IR_ERR_NO_MEMORY \
|
||||||
|
Loading…
Reference in New Issue
Block a user