This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix compiling ecoff.c


Hi Guys,

  The recent patch to gas/ecoff.c introduced a compile time warning
  message because it uses filename_cmp without include the prototype for
  it.  I am applying the obvious fix below to correct this.

Cheers
  Nick

gas/ChangeLog

	* ecoff.c: Include filenames.h

Index: gas/ecoff.c
===================================================================
RCS file: /cvs/src/src/gas/ecoff.c,v
retrieving revision 1.29
diff -u -3 -p -r1.29 ecoff.c
--- gas/ecoff.c	28 Feb 2011 18:32:52 -0000	1.29
+++ gas/ecoff.c	2 Mar 2011 17:20:41 -0000
@@ -37,7 +37,7 @@
 #include "coff/internal.h"
 #include "coff/symconst.h"
 #include "aout/stab_gnu.h"
-
+#include "filenames.h"
 #include "safe-ctype.h"
 
 /* Why isn't this in coff/sym.h?  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]