+Mon Aug 2 23:33:38 1993 John Gilmore (gnu@cygnus.com)
+
+ * elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
+ of EXFUN in the BFD sources. Heave ho!
+
+Mon Aug 2 16:45:57 1993 Stu Grossman (grossman at cygnus.com)
+
+ * coffcode.h (coff_set_arch_mach_hook): Add check for I386LYNXMAGIC.
+
Mon Aug 2 12:18:03 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
* hosts/sun3.h: remove some more conflicting decls
#define POSIX_UTIME
#define HAVE_PROCFS /* This host has /proc support */
-extern void EXFUN( abort,(void));
-extern int EXFUN( close,(int));
-extern void EXFUN( exit,(int));
-extern int EXFUN( fclose,(FILE*));
-extern void EXFUN( free,(PTR));
-extern int EXFUN( fseek,(FILE*, long, int));
-extern int EXFUN( getgid,());
-extern int EXFUN( getuid,());
-extern PTR EXFUN( malloc,(unsigned));
-extern void EXFUN( perror,(CONST char *));
-extern int EXFUN( qsort,(void *data,int els, int siz, int func()));
-extern PTR EXFUN( realloc, (PTR, unsigned));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void free PARAMS ((PTR));
+extern int fseek PARAMS ((FILE*, long, int));
+extern int getgid PARAMS (());
+extern int getuid PARAMS (());
+extern PTR malloc PARAMS ((unsigned));
+extern void perror PARAMS ((CONST char *));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern PTR realloc PARAMS ((PTR, unsigned));
extern char *getenv();
extern int chmod();
#endif /* MAXPATHLEN */
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-extern void EXFUN( free,(PTR));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
+extern void free PARAMS ((PTR));
#endif
#include "fopen-same.h"
#include <string.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-extern void EXFUN( free,(PTR));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
+extern void free PARAMS ((PTR));
#endif
#include "fopen-same.h"
#define USE_UTIME
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
#endif
-extern int EXFUN(abort,(void));
-extern int EXFUN(free,(PTR));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern void EXFUN(exit,(int));
-extern int EXFUN(strtol,(char *, char **, int));
-extern void EXFUN(bzero,(char *, int));
+extern int abort PARAMS ((void));
+extern int free PARAMS ((PTR));
+extern void bcopy PARAMS ((char*,char*,int));
+extern void exit PARAMS ((int));
+extern int strtol PARAMS ((char *, char **, int));
+extern void bzero PARAMS ((char *, int));
#define NO_STDARG 1
-extern int EXFUN(abort,(void));
-extern int EXFUN(close,(int));
+extern int abort PARAMS ((void));
+extern int close PARAMS ((int));
#if 0
/* Conflicts with system headers on SVR4. */
-extern int EXFUN(fcntl,(int des, int cmd, int e));
+extern int fcntl PARAMS ((int des, int cmd, int e));
#endif
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
+extern int qsort PARAMS ((void *data,int els, int siz, int func()));
#if 0
/* Conflicts with system headers on SVR4. */
-extern int EXFUN(fseek,(FILE*, int, int));
+extern int fseek PARAMS ((FILE*, int, int));
#endif
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern int EXFUN(bcmp,(char *, char *, int));
-extern void EXFUN(bzero,(char *, int));
-extern void EXFUN(perror,(CONST char *));
-extern PTR EXFUN(memchr,(const void *, int, unsigned ));
+extern int fclose PARAMS ((FILE*));
+extern void bcopy PARAMS ((char*,char*,int));
+extern int bcmp PARAMS ((char *, char *, int));
+extern void bzero PARAMS ((char *, int));
+extern void perror PARAMS ((CONST char *));
+extern PTR memchr PARAMS ((const void *, int, unsigned ));
#if 0
/* Conflicts with system headers on SVR4. */
-extern unsigned short EXFUN(getuid,(void));
-extern unsigned short EXFUN(getgid,(void));
+extern unsigned short getuid PARAMS ((void));
+extern unsigned short getgid PARAMS ((void));
#endif
extern char * strchr();
#include <stdio.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
#endif
-extern int EXFUN(abort,(void));
-extern int EXFUN(free,(PTR));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern void EXFUN(exit,(int));
-extern void EXFUN(bzero,(char *, int));
+extern int abort PARAMS ((void));
+extern void free PARAMS ((PTR));
+extern void bcopy PARAMS ((char*,char*,int));
+extern void exit PARAMS ((int));
+extern void bzero PARAMS ((char *, int));
extern int strtol();
#define NO_STDARG 1
#include <stdio.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
#endif
-extern int EXFUN(abort,(void));
-extern int EXFUN(free,(PTR));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern void EXFUN(exit,(int));
-extern void EXFUN(bzero,(char *, int));
+extern int abort PARAMS ((void));
+extern int free PARAMS ((PTR));
+extern void bcopy PARAMS ((char*,char*,int));
+extern void exit PARAMS ((int));
+extern void bzero PARAMS ((char *, int));
extern int strtol();
#define POSIX_UTIME
-extern void EXFUN(abort,(void));
-extern int EXFUN(close,(int));
-extern void EXFUN(exit,(int));
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(free,(PTR));
-extern int EXFUN(fseek,(FILE*, long, int));
-extern PTR EXFUN(malloc,(unsigned));
-extern void EXFUN(perror,(CONST char *));
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void free PARAMS ((PTR));
+extern int fseek PARAMS ((FILE*, long, int));
+extern PTR malloc PARAMS ((unsigned));
+extern void perror PARAMS ((CONST char *));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern PTR realloc PARAMS ((PTR, unsigned));
extern char *getenv();
extern int chmod();
#include <string.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-extern void EXFUN(free,(PTR));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
+extern void free PARAMS ((PTR));
#endif
#include "fopen-same.h"
#define SEEK_SET 0
#define SEEK_CUR 1
-extern PTR EXFUN(malloc, (unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-extern void EXFUN(free, (PTR));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
+extern void free PARAMS ((PTR));
#define HAVE_STRERROR
#include <string.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-extern void EXFUN(free,(PTR));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
+extern void free PARAMS ((PTR));
#endif
#include "fopen-same.h"
#define POSIX_UTIME
#define HAVE_PROCFS /* This host has /proc support */
-extern void EXFUN(abort,(void));
-extern int EXFUN(close,(int));
-extern void EXFUN(exit,(int));
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(free,(PTR));
-extern int EXFUN(fseek,(FILE*, long, int));
-extern int EXFUN(getgid,());
-extern int EXFUN(getuid,());
-extern PTR EXFUN(malloc,(unsigned));
-extern void EXFUN(perror,(CONST char *));
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void free PARAMS ((PTR));
+extern int fseek PARAMS ((FILE*, long, int));
+extern int getgid PARAMS (());
+extern int getuid PARAMS (());
+extern PTR malloc PARAMS ((unsigned));
+extern void perror PARAMS ((CONST char *));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern PTR realloc PARAMS ((PTR, unsigned));
extern char *getenv();
extern int chmod();
#define POSIX_UTIME
#define HAVE_PROCFS /* This host has /proc support */
-extern void EXFUN(abort,(void));
-extern int EXFUN(close,(int));
-extern void EXFUN(exit,(int));
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(free,(PTR));
-extern int EXFUN(fseek,(FILE*, long, int));
-extern int EXFUN(getgid,());
-extern int EXFUN(getuid,());
-extern PTR EXFUN(malloc,(unsigned));
-extern void EXFUN(perror,(CONST char *));
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void free PARAMS ((PTR));
+extern int fseek PARAMS ((FILE*, long, int));
+extern int getgid PARAMS (());
+extern int getuid PARAMS (());
+extern PTR malloc PARAMS ((unsigned));
+extern void perror PARAMS ((CONST char *));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern PTR realloc PARAMS ((PTR, unsigned));
extern char *getenv();
extern int chmod();
/* Make the basic types 64-bit quantities on the host */
#define HOST_64_BIT long long
-extern int EXFUN(abort,(void));
-extern int EXFUN(close,(int));
-extern int EXFUN(fcntl,(int des, int cmd, int e));
-extern int EXFUN(fprintf,(FILE *,char *,...));
-extern int EXFUN(printf,(char *,...));
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
-extern void EXFUN(exit,(int));
-extern int EXFUN(fseek,(FILE*, int, int));
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern int EXFUN(bcmp,(char *, char *, int));
-extern void EXFUN(bzero,(char *, int));
-extern PTR EXFUN(memset,(PTR, int,unsigned int));
+extern int abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern int fcntl PARAMS ((int des, int cmd, int e));
+extern int fprintf PARAMS ((FILE *,char *,...));
+extern int printf PARAMS ((char *,...));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern void exit PARAMS ((int));
+extern int fseek PARAMS ((FILE*, int, int));
+extern int fclose PARAMS ((FILE*));
+extern void bcopy PARAMS ((char*, char*, int));
+extern int bcmp PARAMS ((char *, char *, int));
+extern void bzero PARAMS ((char *, int));
+extern PTR memset PARAMS ((PTR, int, unsigned int));
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
#endif
#ifndef __GNUC__
- PTR EXFUN(memcpy,(PTR,CONST PTR,unsigned int));
+ PTR memcpy PARAMS ((PTR, CONST PTR, unsigned int));
#else
-/* char * EXFUN(memcpy,(char *,CONST char *,unsigned int)); */
+/* char * memcpy PARAMS ((char *, CONST char *, unsigned int)); */
#endif
-extern int EXFUN(getuid,());
-extern int EXFUN(getgid,());
+extern int getuid PARAMS (());
+extern int getgid PARAMS (());
extern char * strchr();
-extern void EXFUN(perror,(CONST char *));
+extern void perror PARAMS ((CONST char *));
extern char *getenv();
extern char *memchr();
extern char *strrchr();
extern int stat();
extern int strtol();
-extern int EXFUN(free,(PTR));
+extern int free PARAMS ((PTR));
extern char *strrchr();
#define POSIX_UTIME
#define HAVE_PROCFS /* This host has /proc support */
-extern void EXFUN(abort,(void));
-extern int EXFUN(close,(int));
-extern void EXFUN(exit,(int));
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(free,(PTR));
-extern int EXFUN(fseek,(FILE*, long, int));
-extern int EXFUN(getgid,());
-extern int EXFUN(getuid,());
-extern PTR EXFUN(malloc,(unsigned));
-extern void EXFUN(perror,(CONST char *));
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void free PARAMS ((PTR));
+extern int fseek PARAMS ((FILE*, long, int));
+extern int getgid PARAMS (());
+extern int getuid PARAMS (());
+extern PTR malloc PARAMS ((unsigned));
+extern void perror PARAMS ((CONST char *));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern PTR realloc PARAMS ((PTR, unsigned));
extern char *getenv();
extern int chmod();
#define SEEK_CUR 1
#ifdef __STDC__
-extern void EXFUN(free,(PTR));
+extern void free PARAMS ((PTR));
#else /* not __STDC__ */
-extern int EXFUN(free,(PTR));
+extern int free PARAMS ((PTR));
#endif /* not __STDC__ */
-extern void EXFUN(abort,(void));
-extern int EXFUN(close,(int));
-extern int EXFUN(fprintf,(FILE *,CONST char *,...));
-extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
-extern void EXFUN(exit,(int));
-extern int EXFUN(fclose,(FILE*));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern int EXFUN(bcmp,(char *, char *, int));
-extern void EXFUN(bzero,(char *, int));
-extern void EXFUN(perror,(CONST char *));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern int fprintf PARAMS ((FILE *,CONST char *,...));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void bcopy PARAMS ((char*,char*,int));
+extern int bcmp PARAMS ((char *, char *, int));
+extern void bzero PARAMS ((char *, int));
+extern void perror PARAMS ((CONST char *));
extern char *getenv();
extern char * strchr();
extern char *memchr();
extern int stat();
extern int strtol();
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
#endif
extern char *strrchr();
#define POSIX_UTIME
#define HAVE_PROCFS /* This host has /proc support */
-extern void EXFUN( abort,(void));
-extern int EXFUN( close,(int));
-extern void EXFUN( exit,(int));
-extern int EXFUN( fclose,(FILE*));
-extern void EXFUN( free,(PTR));
-extern int EXFUN( fseek,(FILE*, long, int));
-extern int EXFUN( getgid,());
-extern int EXFUN( getuid,());
-extern PTR EXFUN( malloc,(unsigned));
-extern void EXFUN( perror,(CONST char *));
-extern int EXFUN( qsort,(void *data,int els, int siz, int func()));
-extern PTR EXFUN( realloc, (PTR, unsigned));
+extern void abort PARAMS ((void));
+extern int close PARAMS ((int));
+extern void exit PARAMS ((int));
+extern int fclose PARAMS ((FILE*));
+extern void free PARAMS ((PTR));
+extern int fseek PARAMS ((FILE*, long, int));
+extern int getgid PARAMS (());
+extern int getuid PARAMS (());
+extern PTR malloc PARAMS ((unsigned));
+extern void perror PARAMS ((CONST char *));
+extern int qsort PARAMS ((void *data, int els, int siz, int func()));
+extern PTR realloc PARAMS ((PTR, unsigned));
extern char *getenv();
extern int chmod();
#endif
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
+extern PTR malloc PARAMS ((unsigned));
+extern PTR realloc PARAMS ((PTR, unsigned));
#endif
-extern int EXFUN(abort,(void));
-extern int EXFUN(free,(PTR));
-extern void EXFUN(bcopy,(char*,char*,int));
-extern void EXFUN(exit,(int));
-extern void EXFUN(bzero,(char *, int));
+extern int abort PARAMS ((void));
+extern int free PARAMS ((PTR));
+extern void bcopy PARAMS ((char*, char*, int));
+extern void exit PARAMS ((int));
+extern void bzero PARAMS ((char *, int));
extern int strtol();
#define NO_STDARG 1