From 35c90743a0143d1b4b6a9b9882b08adaba05372f Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Thu, 17 Oct 1991 22:31:26 +0000 Subject: [PATCH] Make perror arg be CONST to avoid warning, and remove duplicate declaration of perror. --- bfd/hosts/sun3.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.30.2