summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2012-11-13 12:18:09 +0100
committerMichal Privoznik <mprivozn@redhat.com>2012-11-21 17:35:53 +0100
commit68f2d1fcede0468e335144b6d8fef6dbc9d6569d (patch)
tree288dbaf5e9699cf85b52a7dccbdb6d7b0b1bae2c
parent30b5366e66de3ba92d7acb44298b1e4c8b6a7817 (diff)
downloadvirt-viewer-68f2d1fcede0468e335144b6d8fef6dbc9d6569d.tar.gz
virt-viewer-68f2d1fcede0468e335144b6d8fef6dbc9d6569d.tar.xz
virt-viewer-68f2d1fcede0468e335144b6d8fef6dbc9d6569d.zip
cfg.mk: Don't require bindtextdomain directly
With current implementation, all binaries that need it call bindtextdomain but not directly. They call a helper function instead. This makes, however, syntax-check fail as it cannot recognize it. Original patch proposed by Eric Blake <eblake@redhat.com>
-rw-r--r--cfg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index 3f9b47b..30392d4 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -1,5 +1,5 @@
# Customize Makefile.maint. -*- makefile -*-
-# Copyright (C) 2008-2011 Red Hat, Inc.
+# Copyright (C) 2008-2012 Red Hat, Inc.
# Copyright (C) 2003-2008 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
@@ -24,6 +24,7 @@ local-checks-to-skip = \
patch-check \
sc_GPL_version \
sc_always_defined_macros \
+ sc_bindtextdomain \
sc_cast_of_alloca_return_value \
sc_cross_check_PATH_usage_in_tests \
sc_dd_max_sym_length \
@@ -133,5 +134,4 @@ exclude_file_name_regexp--sc_require_config_h_first = ^plugin/|src/gbinding\.c|s
exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = ^icons/
exclude_file_name_regexp--sc_trailing_blank = ^icons/
-exclude_file_name_regexp--sc_bindtextdomain = src/windows-cmdline-wrapper.c
exclude_file_name_regexp--sc_prohibit_magic_number_exit = src/windows-cmdline-wrapper.c