wifipineapple-openwrt/tools/bison/patches/010-intl-stub-compat.patch

16 lines
427 B
Diff
Raw Normal View History

--- a/src/main.c
+++ b/src/main.c
@@ -58,9 +58,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 ();
muscle_init ();