diff options
author | Tom Tromey <tom@tromey.com> | 2023-11-06 17:35:29 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-11-12 20:59:33 -0700 |
commit | e5da53e26f4e3b14c542a0cb65828a3a9e574ca3 (patch) | |
tree | 4209dec0c8f53abf3f091dc434a91dcca5b82422 /gdb/defs.h | |
parent | df3926bb63616b3a233c00b394fae05df6c57169 (diff) | |
download | binutils-e5da53e26f4e3b14c542a0cb65828a3a9e574ca3.zip binutils-e5da53e26f4e3b14c542a0cb65828a3a9e574ca3.tar.gz binutils-e5da53e26f4e3b14c542a0cb65828a3a9e574ca3.tar.bz2 |
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>
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -299,12 +299,6 @@ extern std::string relocate_gdb_directory (const char *initial, bool relocatable 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 */ extern void symbol_file_command (const char *, int); |