From: Per Bothner Date: Thu, 17 Oct 1991 22:31:26 +0000 (+0000) Subject: Make perror arg be CONST to avoid warning, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35c90743a0143d1b4b6a9b9882b08adaba05372f;p=binutils-gdb.git Make perror arg be CONST to avoid warning, and remove duplicate declaration of perror. --- diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h index d9d4a2d0507..eefa366f26e 100644 --- a/bfd/hosts/sun3.h +++ b/bfd/hosts/sun3.h @@ -25,7 +25,7 @@ extern PROTO(void, bcopy,(char*,char*,int)); extern PROTO(int, bcmp,(char *, char *, int)); extern PROTO(void, bzero,(char *, int)); extern char * strchr(); -extern PROTO(void, perror,(char *)); +extern PROTO(void, perror,(CONST char *)); extern char *getenv(); extern char *memchr(); extern char *strrchr(); @@ -39,7 +39,6 @@ extern int strtol(); void free(); char *malloc(); char *realloc(); -PROTO (void, perror, (char *s)); extern char *strrchr(); extern char *ctime(); extern int _flsbuf();