Remove declaration of re_comp
defs.h declares re_comp, but it shouldn't. If this is needed, it should be picked up from xregex.h via gdb_regex.h. Tested by rebuilding. Reviewed-by: Kevin Buettner <kevinb@redhat.com>
This commit is contained in:
parent
df3926bb63
commit
e5da53e26f
@ -299,12 +299,6 @@ extern std::string relocate_gdb_directory (const char *initial, bool relocatable
|
|||||||
extern int annotation_level; /* in stack.c */
|
extern int annotation_level; /* in stack.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 "C" char *re_comp (const char *);
|
|
||||||
|
|
||||||
/* From symfile.c */
|
/* From symfile.c */
|
||||||
|
|
||||||
extern void symbol_file_command (const char *, int);
|
extern void symbol_file_command (const char *, int);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user