maint: enforce recent N_ usage

* cfg.mk (sc_prohibit_gettext_noop): New rule applied in "make syntax-check"
This commit is contained in:
Eric Blake 2010-03-18 14:05:44 +01:00 committed by Daniel Veillard
parent e7d29e234c
commit bc3f582bb0

5
cfg.mk
View File

@ -105,6 +105,11 @@ sc_prohibit_gethostname:
msg='use virGetHostname, not gethostname' \
$(_prohibit_regexp)
sc_prohibit_gettext_noop:
@re='gettext_noop *\(' \
msg='use _N, not gettext_noop' \
$(_prohibit_regexp)
sc_prohibit_VIR_ERR_NO_MEMORY:
@re='\<V''IR_ERR_NO_MEMORY\>' \
msg='use virReportOOMError, not V'IR_ERR_NO_MEMORY \