From 68f2d1fcede0468e335144b6d8fef6dbc9d6569d Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 13 Nov 2012 12:18:09 +0100 Subject: [PATCH] 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 --- cfg.mk | 4 ++-- 1 file 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