* arlex.l: Silence compile warnings.

* arsup.h: Likewise. Fix formatting.
This commit is contained in:
Thiemo Seufer 2001-12-04 14:29:11 +00:00
parent 7496292d88
commit 956c53ee28
3 changed files with 27 additions and 32 deletions

View file

@ -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> 2001-12-04 Jakub Jelinek <jakub@redhat.com>
* strings.c: Include config.h before bfd.h. * strings.c: Include config.h before bfd.h.

View file

@ -29,6 +29,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "libiberty.h" #include "libiberty.h"
#include "arparse.h" #include "arparse.h"
#define YY_NO_UNPUT
extern int yylex PARAMS ((void));
int linenumber; int linenumber;
%} %}

View file

@ -22,54 +22,40 @@ struct list {
struct list *next; struct list *next;
}; };
void void maybequit PARAMS ((void));
maybequit PARAMS ((void));
void void prompt PARAMS ((void));
prompt PARAMS ((void));
void void ar_clear PARAMS ((void));
ar_clear PARAMS ((void));
void void ar_replace PARAMS ((struct list *));
ar_replace PARAMS ((struct list *));
void void ar_delete PARAMS ((struct list *));
ar_delete PARAMS ((struct list *));
void void ar_save PARAMS ((void));
ar_save PARAMS ((void));
void void ar_list PARAMS ((void));
ar_list PARAMS ((void));
void void ar_open PARAMS ((char *, int));
ar_open PARAMS ((char *, int));
void void ar_directory PARAMS ((char *, struct list *, char *));
ar_directory PARAMS ((char *, struct list *, char *));
void void ar_addmod PARAMS ((struct list *));
ar_addmod PARAMS ((struct list *));
void void ar_addlib PARAMS ((char *, struct list *));
ar_addlib PARAMS ((char *, struct list *));
void void ar_end PARAMS ((void));
ar_end PARAMS ((void));
void void ar_extract PARAMS ((struct list *));
ar_extract PARAMS ((struct list *));
bfd * bfd *open_inarch PARAMS ((const char *archive_filename, const char *));
open_inarch PARAMS ((const char *archive_filename, const char *));
int extern int yylex PARAMS ((void));
yyparse PARAMS ((void));
int yyparse PARAMS ((void));
/* Functions from ar.c */ /* Functions from ar.c */
void void extract_file PARAMS ((bfd * abfd));
extract_file PARAMS ((bfd * abfd));
extern int interactive; extern int interactive;