* defs.h: Declare argument of re_comp as const char *.

This commit is contained in:
Jim Kingdon 1993-09-20 21:49:24 +00:00
parent 66a48870ac
commit 1bef45eae0
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
Mon Sep 20 14:53:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com) Mon Sep 20 14:53:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* defs.h: Declare argument of re_comp as const char *.
* remote.c, remote-mips.c: Use sr_get_debug not remote_debug. * remote.c, remote-mips.c: Use sr_get_debug not remote_debug.
* README: Say using bfd from another release doesn't generally work. * README: Say using bfd from another release doesn't generally work.

View File

@ -265,10 +265,12 @@ perror_with_name PARAMS ((char *));
extern void extern void
print_sys_errmsg PARAMS ((char *, int)); print_sys_errmsg PARAMS ((char *, int));
/* From regex.c */ /* From regex.c or libc. BSD 4.4 declares this with the argument type as
"const char *" in unistd.h, so we can't declare the argument
as "char *". */
extern char * extern char *
re_comp PARAMS ((char *)); re_comp PARAMS ((const char *));
/* From symfile.c */ /* From symfile.c */