Patches to gas/{gasp.c,as.c}
Ben Elliston
bje@redhat.com
Mon May 1 02:38:00 GMT 2000
It's simple, but I wanted to post diffs anyway. Here is a patch to
allay some warnings from gcc:
Index: gasp.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gas/gasp.c,v
retrieving revision 1.53
diff -u -r1.53 gasp.c
--- gasp.c 2000/04/30 17:47:07 1.53
+++ gasp.c 2000/05/01 09:34:38
@@ -3579,8 +3579,8 @@
#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
setlocale (LC_MESSAGES, "");
#endif
- bindtextdomain (PACKAGE, LOCALEDIR);
- textdomain (PACKAGE);
+ (void) bindtextdomain (PACKAGE, LOCALEDIR);
+ (void) textdomain (PACKAGE);
program_name = argv[0];
xmalloc_set_program_name (program_name);
Index: as.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gas/as.c,v
retrieving revision 1.132
diff -u -r1.132 as.c
--- as.c 2000/04/30 17:46:54 1.132
+++ as.c 2000/05/01 09:36:53
@@ -768,8 +775,8 @@
#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
setlocale (LC_MESSAGES, "");
#endif
- bindtextdomain (PACKAGE, LOCALEDIR);
- textdomain (PACKAGE);
+ (void) bindtextdomain (PACKAGE, LOCALEDIR);
+ (void) textdomain (PACKAGE);
if (debug_memory)
{
More information about the Binutils
mailing list