* objdump.c (disassemble_bytes): If the disassembler returns an
[deliverable/binutils-gdb.git] / binutils / srconv.c
index 098a6d415a9f154b28ecaf0bd76b5400a2f1b3d2..8b0f2b7b5ee0265af53cf20c9de4e29352a8d3f0 100644 (file)
@@ -1,5 +1,5 @@
 /* srconv.c -- Sysroff conversion program
-   Copyright (C) 1994, 95, 96, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1994, 95, 96, 98, 1999 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -66,16 +66,6 @@ static int ids2[20000];
 static int base1 = 0x18;
 static int base2 = 0x2018;
 
-char *
-xcalloc (a, b)
-     int a;
-     int b;
-{
-  char *r = xmalloc (a * b);
-  memset (r, 0, a * b);
-  return r;
-}
-
 static int
 get_member_id (x)
      int x;
@@ -1917,8 +1907,14 @@ main (ac, av)
   };
   char **matching;
   char *input_file;
-
   char *output_file;
+
+#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
+  setlocale (LC_MESSAGES, "");
+#endif
+  bindtextdomain (PACKAGE, LOCALEDIR);
+  textdomain (PACKAGE);
+
   program_name = av[0];
   xmalloc_set_program_name (program_name);
 
This page took 0.023471 seconds and 4 git commands to generate.