From: Steve Chamberlain Date: Fri, 19 Jul 1991 15:29:16 +0000 (+0000) Subject: Patches from David Wood X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac677dad954a19e2ac461ce9c1f46b1651711515;p=binutils-gdb.git Patches from David Wood --- diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h index fd1c5e479ac..c01e1a37619 100644 --- a/bfd/hosts/sparc.h +++ b/bfd/hosts/sparc.h @@ -34,7 +34,7 @@ PROTO(char *, memcpy,(char *,CONST char *,unsigned int)); extern PROTO(int,getuid,()); extern PROTO(int,getgid,()); extern char * strchr(); -extern PROTO(void, perror,(char *)); +extern PROTO(void, perror,(CONST char *)); extern char *getenv(); extern char *memchr(); extern char *strrchr(); @@ -52,7 +52,7 @@ extern PROTO(PTR ,realloc, (PTR, unsigned)); extern PROTO(int, free,(PTR)); -PROTO (void, perror, (char *s)); + extern char *strrchr(); extern char *ctime(); extern int _flsbuf(); diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h index 2d38220b788..d9d4a2d0507 100644 --- a/bfd/hosts/sun3.h +++ b/bfd/hosts/sun3.h @@ -14,7 +14,7 @@ extern PROTO(int, abort,(void)); extern PROTO(int, close,(int)); -extern PROTO(int, fcntl,(int des, int cmd)); +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()));