aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/hosts/apollov68.h2
-rw-r--r--bfd/hosts/delta88.h43
-rw-r--r--bfd/hosts/dgux.h12
-rw-r--r--bfd/hosts/harris.h14
-rw-r--r--bfd/hosts/i386mach.h6
-rw-r--r--bfd/hosts/i386v.h4
-rw-r--r--bfd/hosts/i386v4.h24
-rw-r--r--bfd/hosts/sparc-ll.h43
-rw-r--r--bfd/hosts/sparc.h66
-rw-r--r--bfd/hosts/stratus.h24
-rw-r--r--bfd/hosts/sun3.h28
11 files changed, 131 insertions, 135 deletions
diff --git a/bfd/hosts/apollov68.h b/bfd/hosts/apollov68.h
index 93a8107..13793ff 100644
--- a/bfd/hosts/apollov68.h
+++ b/bfd/hosts/apollov68.h
@@ -45,7 +45,7 @@
*/
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (PTR, unsigned));
extern void EXFUN( free,(PTR));
#endif
diff --git a/bfd/hosts/delta88.h b/bfd/hosts/delta88.h
index 1d7d001..4337d22 100644
--- a/bfd/hosts/delta88.h
+++ b/bfd/hosts/delta88.h
@@ -11,36 +11,33 @@
#include <stdio.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (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 strtol();
-extern void EXFUN( bzero,(char *, int));
+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());
+extern void EXFUN(bzero,(char *, int));
#define NO_STDARG 1
-
-
-
-extern int EXFUN( abort,(void));
-extern int EXFUN( close,(int));
-extern int EXFUN( fcntl,(int des, int cmd, int e));
-
-
-extern int EXFUN( qsort,(void *data,int els, int siz, int func()));
+extern int EXFUN(abort,(void));
+extern int EXFUN(close,(int));
+extern int EXFUN(fcntl,(int des, int cmd, int e));
+extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
+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 void EXFUN(perror,(CONST char *));
+extern PTR EXFUN(memchr,(const void *, int, unsigned ));
extern unsigned short EXFUN(getuid,(void));
extern unsigned short EXFUN(getgid,(void));
-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 char * strchr();
-extern void EXFUN( perror,(CONST char *));
+
extern char *getenv();
-extern PTR EXFUN( memchr,(const void *, int, unsigned ));
extern char *strrchr();
extern int chmod();
extern int fread();
diff --git a/bfd/hosts/dgux.h b/bfd/hosts/dgux.h
index f5bd533..0847982 100644
--- a/bfd/hosts/dgux.h
+++ b/bfd/hosts/dgux.h
@@ -12,15 +12,15 @@
#include <stdio.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (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(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 strtol();
-extern void EXFUN( bzero,(char *, int));
#define NO_STDARG 1
diff --git a/bfd/hosts/harris.h b/bfd/hosts/harris.h
index 33123b2..274ccbd 100644
--- a/bfd/hosts/harris.h
+++ b/bfd/hosts/harris.h
@@ -11,16 +11,16 @@
#include <stdio.h>
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (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 strtol();
-extern void EXFUN( bzero,(char *, int));
+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 strtol();
/* EXACT TYPES */
typedef char int8e_type;
typedef unsigned char uint8e_type;
diff --git a/bfd/hosts/i386mach.h b/bfd/hosts/i386mach.h
index 3989675..874ead4 100644
--- a/bfd/hosts/i386mach.h
+++ b/bfd/hosts/i386mach.h
@@ -16,9 +16,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 EXFUN(malloc, (unsigned));
+extern PTR EXFUN(realloc, (PTR, unsigned));
+extern void EXFUN(free, (PTR));
#define HAVE_STRERROR
diff --git a/bfd/hosts/i386v.h b/bfd/hosts/i386v.h
index f2a5c7d..eda2f3c 100644
--- a/bfd/hosts/i386v.h
+++ b/bfd/hosts/i386v.h
@@ -44,9 +44,9 @@
*/
#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (PTR, unsigned));
-extern void EXFUN( free,(PTR));
+extern void EXFUN(free,(PTR));
#endif
/* EXACT TYPES */
diff --git a/bfd/hosts/i386v4.h b/bfd/hosts/i386v4.h
index 9e91c27..7b72059 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 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 char *getenv();
extern int chmod();
diff --git a/bfd/hosts/sparc-ll.h b/bfd/hosts/sparc-ll.h
index a3c1837..78ad5db 100644
--- a/bfd/hosts/sparc-ll.h
+++ b/bfd/hosts/sparc-ll.h
@@ -18,29 +18,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 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));
+#ifndef DONTDECLARE_MALLOC
+extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(realloc, (PTR, unsigned));
+#endif
+
#ifndef __GNUC__
- PTR EXFUN( memcpy,(PTR,CONST PTR,unsigned int));
+ PTR EXFUN(memcpy,(PTR,CONST PTR,unsigned int));
#else
-/* char * EXFUN( memcpy,(char *,CONST char *,unsigned int)); */
+/* char * EXFUN(memcpy,(char *,CONST char *,unsigned int)); */
#endif
extern int EXFUN(getuid,());
extern int EXFUN(getgid,());
extern char * strchr();
-extern void EXFUN( perror,(CONST char *));
+extern void EXFUN(perror,(CONST char *));
extern char *getenv();
extern char *memchr();
extern char *strrchr();
@@ -51,12 +56,8 @@ extern int fwrite();
extern int sscanf();
extern int stat();
extern int strtol();
-#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-#endif
-extern int EXFUN( free,(PTR));
+extern int EXFUN(free,(PTR));
extern char *strrchr();
diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h
index 7c8c3c6..a604c8f 100644
--- a/bfd/hosts/sparc.h
+++ b/bfd/hosts/sparc.h
@@ -12,42 +12,45 @@
#define SEEK_SET 0
#define SEEK_CUR 1
-char *EXFUN(mktemp,(CONST char*));
-extern int EXFUN(fflush,(FILE *));
-extern int EXFUN(write,(int, CONST char *, int));
-extern int EXFUN(index,(CONST char *, char c));
-extern void 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 char *EXFUN(mktemp,(CONST char*));
+extern int EXFUN(fflush,(FILE *));
+extern int EXFUN(write,(int, CONST char *, int));
+extern int EXFUN(index,(CONST char *, char c));
+extern void 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, int));
+extern void EXFUN(puts,(CONST char*));
+extern void EXFUN(fputs,(CONST char*,FILE*));
+extern int EXFUN(rmdir,(CONST char *));
+extern int EXFUN(getuid,(void));
+extern int EXFUN(getgid,(void));
+extern int EXFUN(rename,(CONST char *, CONST char*));
+extern int EXFUN(etuid,());
+extern int EXFUN(etgid,());
+extern void EXFUN(perror,(CONST char *));
+#ifndef DONTDECLARE_MALLOC
+extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(realloc, (PTR, unsigned));
+#endif
+
#ifndef __GNUC__
-PTR EXFUN(memcpy,(PTR,CONST PTR,unsigned int));
+extern PTR EXFUN(memcpy,(PTR,CONST PTR,unsigned int));
#else
/* char * EXFUN( memcpy,(char *,CONST char *,unsigned int)); */
#endif
-PTR EXFUN(memset,(PTR, int, int));
-void EXFUN( puts,(CONST char*));
-void EXFUN(fputs,(CONST char*,FILE*));
-
-int EXFUN(rmdir,(CONST char *));
-int EXFUN(getuid,(void));
-int EXFUN(getgid,(void));
-int EXFUN(rename,(CONST char *, CONST char*));
-
-extern int EXFUN(etuid,());
-extern int EXFUN(etgid,());
extern char * strchr();
-extern void EXFUN(perror,(CONST char *));
extern char *getenv();
extern char *memchr();
extern char *strrchr();
@@ -58,11 +61,6 @@ extern int fwrite();
extern int sscanf();
extern int stat();
extern int strtol();
-#ifndef DONTDECLARE_MALLOC
-extern PTR EXFUN(malloc,(unsigned));
-extern PTR EXFUN(realloc, (PTR, unsigned));
-#endif
-
extern int EXFUN(free,(PTR));
diff --git a/bfd/hosts/stratus.h b/bfd/hosts/stratus.h
index 08d5c7c..dbe7a01 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 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 char *getenv();
extern int chmod();
diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h
index b89291c..d6a1a54 100644
--- a/bfd/hosts/sun3.h
+++ b/bfd/hosts/sun3.h
@@ -13,21 +13,21 @@
#define SEEK_SET 0
#define SEEK_CUR 1
-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 int 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 char * strchr();
-extern void EXFUN( perror,(CONST char *));
+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 int 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 void EXFUN(perror,(CONST char *));
extern char *getenv();
+extern char * strchr();
extern char *memchr();
extern char *strrchr();
extern int chmod();