diff options
author | John Gilmore <gnu@cygnus> | 1993-08-03 06:36:30 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-08-03 06:36:30 +0000 |
commit | e49d5379165028ec21243ac1f918985d5125a8db (patch) | |
tree | badd7ad40e7d92418aa98de2c45c2d34242c4be9 /bfd | |
parent | 90fcdfbfcf0f8a5ea4bf0cb38da1ff00092e7760 (diff) | |
download | gdb-e49d5379165028ec21243ac1f918985d5125a8db.zip gdb-e49d5379165028ec21243ac1f918985d5125a8db.tar.gz gdb-e49d5379165028ec21243ac1f918985d5125a8db.tar.bz2 |
* elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
of EXFUN in the BFD sources. Heave ho!
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/hosts/amix.h | 24 | ||||
-rw-r--r-- | bfd/hosts/apollo68.h | 6 | ||||
-rw-r--r-- | bfd/hosts/apollov68.h | 6 | ||||
-rw-r--r-- | bfd/hosts/delta88.h | 42 | ||||
-rw-r--r-- | bfd/hosts/dgux.h | 14 | ||||
-rw-r--r-- | bfd/hosts/harris.h | 14 | ||||
-rw-r--r-- | bfd/hosts/i386aix.h | 20 | ||||
-rw-r--r-- | bfd/hosts/i386isc.h | 6 | ||||
-rw-r--r-- | bfd/hosts/i386mach.h | 6 | ||||
-rw-r--r-- | bfd/hosts/i386v.h | 6 | ||||
-rw-r--r-- | bfd/hosts/i386v4.h | 24 | ||||
-rw-r--r-- | bfd/hosts/ncr3000.h | 24 | ||||
-rw-r--r-- | bfd/hosts/sparc-ll.h | 42 | ||||
-rw-r--r-- | bfd/hosts/stratus.h | 24 | ||||
-rw-r--r-- | bfd/hosts/sun3.h | 28 | ||||
-rw-r--r-- | bfd/hosts/sysv4.h | 24 | ||||
-rw-r--r-- | bfd/hosts/we32k.h | 14 |
18 files changed, 171 insertions, 162 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2c1d0d7..f1a63bb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/hosts/amix.h b/bfd/hosts/amix.h index 25d1e1e..16d2bfe 100644 --- a/bfd/hosts/amix.h +++ b/bfd/hosts/amix.h @@ -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(); diff --git a/bfd/hosts/apollo68.h b/bfd/hosts/apollo68.h index 4e7b477..eb14ad8 100644 --- a/bfd/hosts/apollo68.h +++ b/bfd/hosts/apollo68.h @@ -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" diff --git a/bfd/hosts/apollov68.h b/bfd/hosts/apollov68.h index 5c5dbde..3c4c6d9 100644 --- a/bfd/hosts/apollov68.h +++ b/bfd/hosts/apollov68.h @@ -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" diff --git a/bfd/hosts/delta88.h b/bfd/hosts/delta88.h index c1b88ed..a7a038f 100644 --- a/bfd/hosts/delta88.h +++ b/bfd/hosts/delta88.h @@ -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(); diff --git a/bfd/hosts/dgux.h b/bfd/hosts/dgux.h index 058c53a..ff0573f 100644 --- a/bfd/hosts/dgux.h +++ b/bfd/hosts/dgux.h @@ -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 diff --git a/bfd/hosts/harris.h b/bfd/hosts/harris.h index 0d86aa1..26ab4a6 100644 --- a/bfd/hosts/harris.h +++ b/bfd/hosts/harris.h @@ -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(); diff --git a/bfd/hosts/i386aix.h b/bfd/hosts/i386aix.h index ae59809..1566694 100644 --- a/bfd/hosts/i386aix.h +++ b/bfd/hosts/i386aix.h @@ -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(); diff --git a/bfd/hosts/i386isc.h b/bfd/hosts/i386isc.h index 5f818d9..b07af47 100644 --- a/bfd/hosts/i386isc.h +++ b/bfd/hosts/i386isc.h @@ -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" diff --git a/bfd/hosts/i386mach.h b/bfd/hosts/i386mach.h index 60badec..88efc8d 100644 --- a/bfd/hosts/i386mach.h +++ b/bfd/hosts/i386mach.h @@ -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 diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h index f45bdbd..2d2c8ee 100644 --- a/bfd/hosts/i386v.h +++ b/bfd/hosts/i386v.h @@ -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" diff --git a/bfd/hosts/i386v4.h b/bfd/hosts/i386v4.h index 0c52b2f..ad4c077 100644 --- a/bfd/hosts/i386v4.h +++ b/bfd/hosts/i386v4.h @@ -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(); diff --git a/bfd/hosts/ncr3000.h b/bfd/hosts/ncr3000.h index 0c52b2f..ad4c077 100644 --- a/bfd/hosts/ncr3000.h +++ b/bfd/hosts/ncr3000.h @@ -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(); diff --git a/bfd/hosts/sparc-ll.h b/bfd/hosts/sparc-ll.h index d7a1181..06658e6 100644 --- a/bfd/hosts/sparc-ll.h +++ b/bfd/hosts/sparc-ll.h @@ -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(); diff --git a/bfd/hosts/stratus.h b/bfd/hosts/stratus.h index 0386dc2..5a02216 100644 --- a/bfd/hosts/stratus.h +++ b/bfd/hosts/stratus.h @@ -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(); diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h index 220ac09..bd8b2ab 100644 --- a/bfd/hosts/sun3.h +++ b/bfd/hosts/sun3.h @@ -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(); diff --git a/bfd/hosts/sysv4.h b/bfd/hosts/sysv4.h index 796c21d..73acc66 100644 --- a/bfd/hosts/sysv4.h +++ b/bfd/hosts/sysv4.h @@ -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(); diff --git a/bfd/hosts/we32k.h b/bfd/hosts/we32k.h index 6d5dd98..c4be619 100644 --- a/bfd/hosts/we32k.h +++ b/bfd/hosts/we32k.h @@ -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 |