summaryrefslogtreecommitdiffstats
path: root/tools/bison/patches/010-intl-stub-compat.patch
blob: 7690e10ed8ba159860446a497873973e3cb4e398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/src/main.c
+++ b/src/main.c
@@ -57,9 +57,9 @@ main (int argc, char *argv[])
 {
   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);
 
   uniqstrs_new ();