]> xenbits.xensource.com Git - libvirt.git/commitdiff
syntax-check: Remove sc_gettext_init exception
authorAndrea Bolognani <abologna@redhat.com>
Mon, 23 May 2022 13:34:58 +0000 (15:34 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 24 May 2022 09:09:36 +0000 (11:09 +0200)
The file src/util/vireventglib.c doesn't contain a main() function
and so it's not even considered by the check.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
build-aux/syntax-check.mk

index 8689d01f1963ec98925ddc5d161abfd47ed6db4a..0637a42e94ebf7758e536ffe536878fcbdb3f14c 100644 (file)
@@ -1569,7 +1569,8 @@ exclude_file_name_regexp--sc_avoid_strcase = ^tools/vsh\.h$$
 
 exclude_file_name_regexp--sc_avoid_write = ^src/libvirt-stream\.c$$
 
-exclude_file_name_regexp--sc_gettext_init = ^((tests|examples)/|tools/virt-login-shell.c|src/util/vireventglib\.c)
+exclude_file_name_regexp--sc_gettext_init = \
+       ^((tests|examples)/|tools/virt-login-shell.c)
 
 exclude_file_name_regexp--sc_copyright_usage = \
   ^COPYING(|\.LESSER)|build-aux/syntax-check.mk$$