aboutsummaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 8ed53af..001bf3b 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -4584,18 +4584,7 @@ main (argc, argv)
signal (SIGCHLD, SIG_DFL);
#endif
-/* LC_CTYPE determines the character set used by the terminal so it has be set
- to output messages correctly. */
-
-#ifdef HAVE_LC_MESSAGES
- setlocale (LC_CTYPE, "");
- setlocale (LC_MESSAGES, "");
-#else
- setlocale (LC_ALL, "");
-#endif
-
- (void) bindtextdomain (PACKAGE, localedir);
- (void) textdomain (PACKAGE);
+ gcc_init_libintl ();
cwd_buffer = getpwd ();
if (!cwd_buffer)