1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 08:27:10 +02:00
openwrt-xburst/tools/bison/patches/010-intl-stub-compat.patch
florian e9404ac1be [tools] bison: update to 2.5
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:11 +00:00

16 lines
427 B
Diff

--- 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 ();