aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-10-17 22:31:26 +0000
committerPer Bothner <per@bothner.com>1991-10-17 22:31:26 +0000
commit35c90743a0143d1b4b6a9b9882b08adaba05372f (patch)
tree50ce3ada25132008ab6e952b4a07405fd1ec424c /bfd
parentb1dcd6ac3fa34cb2c431120eefcb111b832b2c00 (diff)
downloadgdb-35c90743a0143d1b4b6a9b9882b08adaba05372f.zip
gdb-35c90743a0143d1b4b6a9b9882b08adaba05372f.tar.gz
gdb-35c90743a0143d1b4b6a9b9882b08adaba05372f.tar.bz2
Make perror arg be CONST to avoid warning,
and remove duplicate declaration of perror.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/hosts/sun3.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/hosts/sun3.h b/bfd/hosts/sun3.h
index d9d4a2d..eefa366 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();