* elf32-hppa.h, hosts/*: Remove (one more time) all occurrances

of EXFUN in the BFD sources.  Heave ho!
This commit is contained in:
John Gilmore 1993-08-03 06:36:30 +00:00
parent 90fcdfbfcf
commit e49d537916
18 changed files with 171 additions and 162 deletions

View File

@ -1,3 +1,12 @@
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

View File

@ -19,18 +19,18 @@
#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();

View File

@ -19,9 +19,9 @@
#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"

View File

@ -30,9 +30,9 @@
#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"

View File

@ -14,37 +14,37 @@
#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();

View File

@ -13,14 +13,14 @@
#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

View File

@ -12,14 +12,14 @@
#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();

View File

@ -20,16 +20,16 @@
#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();

View File

@ -31,9 +31,9 @@
#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"

View File

@ -17,9 +17,9 @@ extern int errno; /* <errno.h> forgets to do this... */
#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

View File

@ -29,9 +29,9 @@
#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"

View File

@ -19,18 +19,18 @@
#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();

View File

@ -19,18 +19,18 @@
#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();

View File

@ -19,34 +19,34 @@
/* 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();
@ -58,7 +58,7 @@ extern int sscanf();
extern int stat();
extern int strtol();
extern int EXFUN(free,(PTR));
extern int free PARAMS ((PTR));
extern char *strrchr();

View File

@ -19,18 +19,18 @@
#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();

View File

@ -14,20 +14,20 @@
#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();
@ -37,8 +37,8 @@ extern int fstat();
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();

View File

@ -20,18 +20,18 @@
#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();

View File

@ -14,14 +14,14 @@
#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