aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bison/patches/010-intl-stub-compat.patch
blob: 98234209cdc0849ec29dd2a9da5037a6e61e3dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/main.c
+++ b/src/main.c
@@ -60,9 +60,9 @@
 {
   set_program_name (argv[0]);
   setlocale (LC_ALL, "");
-  (void) bindtextdomain (PACKAGE, LOCALEDIR);
-  (void) bindtextdomain ("bison-runtime", LOCALEDIR);
-  (void) textdomain (PACKAGE);
+  bindtextdomain (PACKAGE, LOCALEDIR);
+  bindtextdomain ("bison-runtime", LOCALEDIR);
+  textdomain (PACKAGE);
 
   {
     char const *cp = getenv ("LC_CTYPE");