This is the mail archive of the binutils@sources.redhat.com 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] Silence ar compile warnings


Hi All,

this silences some lexer-related compile warnings from ar.


Thiemo


2001-12-03  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

	/binutils/ChangeLog
	* arlex.l: Silence compile warnings.
	* arsup.h: Likewise.


diff -BurpN source-orig/binutils/arlex.l source/binutils/arlex.l
--- source-orig/binutils/arlex.l	Mon Nov  5 22:52:09 2001
+++ source/binutils/arlex.l	Sun Dec  2 20:15:57 2001
@@ -29,6 +29,10 @@ Foundation, Inc., 59 Temple Place - Suit
 #include "libiberty.h"
 #include "arparse.h"
 
+#define YY_NO_UNPUT
+
+extern int yylex PARAMS ((void));
+
 int linenumber;
 %}
 
diff -BurpN source-orig/binutils/arsup.h source/binutils/arsup.h
--- source-orig/binutils/arsup.h	Tue Mar 13 07:43:57 2001
+++ source/binutils/arsup.h	Sun Dec  2 20:15:57 2001
@@ -64,6 +64,9 @@ ar_extract PARAMS ((struct list *));
 bfd *
 open_inarch PARAMS ((const char *archive_filename, const char *));
 
+extern int
+yylex PARAMS ((void));
+
 int
 yyparse PARAMS ((void));
 


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