aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-11-06 17:35:29 -0700
committerTom Tromey <tom@tromey.com>2023-11-12 20:59:33 -0700
commite5da53e26f4e3b14c542a0cb65828a3a9e574ca3 (patch)
tree4209dec0c8f53abf3f091dc434a91dcca5b82422 /gdb/defs.h
parentdf3926bb63616b3a233c00b394fae05df6c57169 (diff)
downloadfsf-binutils-gdb-e5da53e26f4e3b14c542a0cb65828a3a9e574ca3.zip
fsf-binutils-gdb-e5da53e26f4e3b14c542a0cb65828a3a9e574ca3.tar.gz
fsf-binutils-gdb-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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index b8612e1..e6dd93e 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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);