summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-12-04 14:29:11 +0000
committerThiemo Seufer <ths@networkno.de>2001-12-04 14:29:11 +0000
commit83a123fb1f35cbc0d5368a45fea6d4a959520743 (patch)
tree43857d98013ecb1943954e1b4ccc41f8eed815c0
parenta8094831a53d0cbbc48b35a4ceac5d49b9d697e4 (diff)
downloadbinutils-redhat-83a123fb1f35cbc0d5368a45fea6d4a959520743.tar.gz
* arlex.l: Silence compile warnings.
* arsup.h: Likewise. Fix formatting.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/arlex.l4
-rw-r--r--binutils/arsup.h50
3 files changed, 27 insertions, 32 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 8548ec3b71..64d5ef4a8d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * arlex.l: Silence compile warnings.
+ * arsup.h: Likewise. Fix formatting.
+
2001-12-04 Jakub Jelinek <jakub@redhat.com>
* strings.c: Include config.h before bfd.h.
diff --git a/binutils/arlex.l b/binutils/arlex.l
index 4e2895cdc9..381b177cc0 100644
--- a/binutils/arlex.l
+++ b/binutils/arlex.l
@@ -29,6 +29,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "libiberty.h"
#include "arparse.h"
+#define YY_NO_UNPUT
+
+extern int yylex PARAMS ((void));
+
int linenumber;
%}
diff --git a/binutils/arsup.h b/binutils/arsup.h
index 26538beaf9..e875cbf6f3 100644
--- a/binutils/arsup.h
+++ b/binutils/arsup.h
@@ -22,54 +22,40 @@ struct list {
struct list *next;
};
-void
-maybequit PARAMS ((void));
+void maybequit PARAMS ((void));
-void
-prompt PARAMS ((void));
+void prompt PARAMS ((void));
-void
-ar_clear PARAMS ((void));
+void ar_clear PARAMS ((void));
-void
-ar_replace PARAMS ((struct list *));
+void ar_replace PARAMS ((struct list *));
-void
-ar_delete PARAMS ((struct list *));
+void ar_delete PARAMS ((struct list *));
-void
-ar_save PARAMS ((void));
+void ar_save PARAMS ((void));
-void
-ar_list PARAMS ((void));
+void ar_list PARAMS ((void));
-void
-ar_open PARAMS ((char *, int));
+void ar_open PARAMS ((char *, int));
-void
-ar_directory PARAMS ((char *, struct list *, char *));
+void ar_directory PARAMS ((char *, struct list *, char *));
-void
-ar_addmod PARAMS ((struct list *));
+void ar_addmod PARAMS ((struct list *));
-void
-ar_addlib PARAMS ((char *, struct list *));
+void ar_addlib PARAMS ((char *, struct list *));
-void
-ar_end PARAMS ((void));
+void ar_end PARAMS ((void));
-void
-ar_extract PARAMS ((struct list *));
+void ar_extract PARAMS ((struct list *));
-bfd *
-open_inarch PARAMS ((const char *archive_filename, const char *));
+bfd *open_inarch PARAMS ((const char *archive_filename, const char *));
-int
-yyparse PARAMS ((void));
+extern int yylex PARAMS ((void));
+
+int yyparse PARAMS ((void));
/* Functions from ar.c */
-void
-extract_file PARAMS ((bfd * abfd));
+void extract_file PARAMS ((bfd * abfd));
extern int interactive;