summaryrefslogtreecommitdiffstats
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index dbafe81ace0..7386b01ec29 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -243,18 +243,7 @@ main (argc, argv)
int argc;
char **argv;
{
-/* 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 ();
process_args (argc, argv);
OpenPOWER on IntegriCloud