From: Steve Chamberlain Date: Sun, 1 Dec 1991 01:32:27 +0000 (+0000) Subject: Changed all prototypes from PROTO to EXFUN X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=179ca8db66c5e1b8735fe348d81fa6e9d803a1e1;p=binutils-gdb.git Changed all prototypes from PROTO to EXFUN --- diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h index f93a21e8daf..0b8fcc4f127 100644 --- a/bfd/hosts/sparc.h +++ b/bfd/hosts/sparc.h @@ -12,29 +12,29 @@ #define SEEK_SET 0 #define SEEK_CUR 1 -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(emset,(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)); */ #endif -extern PROTO(int,getuid,()); -extern PROTO(int,getgid,()); +extern int EXFUN(etuid,()); +extern int EXFUN(etgid,()); extern char * strchr(); -extern PROTO(void, perror,(CONST char *)); +extern void EXFUN(perror,(CONST char *)); extern char *getenv(); extern char *memchr(); extern char *strrchr(); @@ -46,11 +46,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(alloc,(unsigned)); +extern PTR EXFUN(ealloc, (PTR, unsigned)); #endif -extern PROTO(int, free,(PTR)); +extern int EXFUN(free,(PTR)); extern char *strrchr();