aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/sparc-ll.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-03-06 12:14:14 +0000
committerSteve Chamberlain <sac@cygnus>1992-03-06 12:14:14 +0000
commit56a56f4c15e4becf0ed7836abe0d46e5e9612081 (patch)
treedd1bd3f0263fbc63506e8045c27efd671302bf72 /bfd/hosts/sparc-ll.h
parent921bc435810a376ef5bc1cf86274d0433d9478ff (diff)
downloadgdb-56a56f4c15e4becf0ed7836abe0d46e5e9612081.zip
gdb-56a56f4c15e4becf0ed7836abe0d46e5e9612081.tar.gz
gdb-56a56f4c15e4becf0ed7836abe0d46e5e9612081.tar.bz2
Now use EXFUN rather than PROTO, so that things using ansidecl.h and
not bfd.h can use them
Diffstat (limited to 'bfd/hosts/sparc-ll.h')
-rw-r--r--bfd/hosts/sparc-ll.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/bfd/hosts/sparc-ll.h b/bfd/hosts/sparc-ll.h
index 14ca8ad..a3c1837 100644
--- a/bfd/hosts/sparc-ll.h
+++ b/bfd/hosts/sparc-ll.h
@@ -18,29 +18,29 @@
/* Make the basic types 64-bit quantities on the host */
#define HOST_64_BIT long long
-extern PROTO(int, abort,(void));
-extern PROTO(int, close,(int));
-extern PROTO(int, fcntl,(int des, int cmd, int e));
-extern PROTO(int, fprintf,(FILE *,char *,...));
-extern PROTO(int, printf,(char *,...));
-extern PROTO(int, qsort,(void *data,int els, int siz, int func()));
-extern PROTO(void, exit,(int));
-extern PROTO(int, fseek,(FILE*, int, int));
-extern PROTO(int, fclose,(FILE*));
-extern PROTO(void, bcopy,(char*,char*,int));
-extern PROTO(int, bcmp,(char *, char *, int));
-extern PROTO(void, bzero,(char *, int));
-extern PROTO(PTR,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 __GNUC__
-PROTO(PTR, memcpy,(PTR,CONST PTR,unsigned int));
+ PTR EXFUN( memcpy,(PTR,CONST PTR,unsigned int));
#else
-/* PROTO(char *, memcpy,(char *,CONST char *,unsigned int)); */
+/* char * EXFUN( memcpy,(char *,CONST char *,unsigned int)); */
#endif
-extern PROTO(int,getuid,());
-extern PROTO(int,getgid,());
+extern int EXFUN(getuid,());
+extern int EXFUN(getgid,());
extern char * strchr();
-extern PROTO(void, perror,(CONST char *));
+extern void EXFUN( perror,(CONST char *));
extern char *getenv();
extern char *memchr();
extern char *strrchr();
@@ -52,11 +52,11 @@ extern int sscanf();
extern int stat();
extern int strtol();
#ifndef DONTDECLARE_MALLOC
-extern PROTO(PTR,malloc,(unsigned));
-extern PROTO(PTR ,realloc, (PTR, unsigned));
+extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(realloc, (PTR, unsigned));
#endif
-extern PROTO(int, free,(PTR));
+extern int EXFUN( free,(PTR));
extern char *strrchr();