diff options
author | John Gilmore <gnu@cygnus> | 1991-05-10 23:56:58 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-05-10 23:56:58 +0000 |
commit | 8b0328dba3b96ab41d131a1afb3a672155c051d6 (patch) | |
tree | 2860ff69a250224560824d11c7bf00cee4954655 /bfd/archive.c | |
parent | e2aed73b28bd028f357affe9b4d58d0abdbdc43c (diff) | |
download | gdb-8b0328dba3b96ab41d131a1afb3a672155c051d6.zip gdb-8b0328dba3b96ab41d131a1afb3a672155c051d6.tar.gz gdb-8b0328dba3b96ab41d131a1afb3a672155c051d6.tar.bz2 |
Lint.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index f1d8a6a..3058d33 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -795,7 +795,7 @@ bfd_generic_stat_arch_elt (abfd, buf) void bfd_dont_truncate_arname (abfd, pathname, arhdr) bfd *abfd; - char *pathname; + CONST char *pathname; char *arhdr; { /* FIXME: This interacts unpleasantly with ar's quick-append option. @@ -805,7 +805,7 @@ bfd_dont_truncate_arname (abfd, pathname, arhdr) struct ar_hdr *hdr = (struct ar_hdr *) arhdr; int length; - char *filename = strrchr (pathname, '/'); + CONST char *filename = strrchr (pathname, '/'); int maxlen = ar_maxnamelen (abfd); if (filename == NULL) @@ -826,12 +826,12 @@ bfd_dont_truncate_arname (abfd, pathname, arhdr) void bfd_bsd_truncate_arname (abfd, pathname, arhdr) bfd *abfd; - char *pathname; + CONST char *pathname; char *arhdr; { struct ar_hdr *hdr = (struct ar_hdr *) arhdr; int length; - char *filename = strrchr (pathname, '/'); + CONST char *filename = strrchr (pathname, '/'); int maxlen = ar_maxnamelen (abfd); @@ -864,12 +864,12 @@ bfd_bsd_truncate_arname (abfd, pathname, arhdr) void bfd_gnu_truncate_arname (abfd, pathname, arhdr) bfd *abfd; - char *pathname; + CONST char *pathname; char *arhdr; { struct ar_hdr *hdr = (struct ar_hdr *) arhdr; int length; - char *filename = strrchr (pathname, '/'); + CONST char *filename = strrchr (pathname, '/'); int maxlen = ar_maxnamelen (abfd); if (filename == NULL) |