This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Patches to gas/{gasp.c,as.c}
- To: binutils at sourceware dot cygnus dot com
- Subject: Patches to gas/{gasp.c,as.c}
- From: Ben Elliston <bje at redhat dot com>
- Date: Mon, 1 May 2000 19:38:01 +1000 (EST)
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)
{