* srconv.c (xcalloc): Likewise.
* sysdump.c (xcalloc): Likewise.
#define PROGRAM_VERSION "1.0"
-char *xcalloc(a,b)
-int a;
-int b;
-{
- char *r = xmalloc(a*b);
- memset (r, 0, a * b);
- return r;
-}
-
static int atnl;
static void dump_coff_scope ();
{ NULL, no_argument, 0, 0 }
};
+#ifdef HAVE_SETLOCALE
setlocale (LC_MESSAGES, "");
+#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
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;
char *input_file;
char *output_file;
+#ifdef HAVE_SETLOCALE
setlocale (LC_MESSAGES, "");
+#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
static int addrsize = 4;
static FILE *file;
-static char *
-xcalloc (a, b)
- int a;
- int b;
-{
- char *r = xmalloc (a * b);
- memset (r, 0, a * b);
- return r;
-}
-
char *
getCHARS (ptr, idx, size, max)
unsigned char *ptr;
{NULL, no_argument, 0, 0}
};
+#ifdef HAVE_SETLOCALE
setlocale (LC_MESSAGES, "");
+#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);