Remove declaration of re_comp
[binutils-gdb.git] / gdb / defs.h
index b8612e1ac6d3eb1d8404d45cbecf99fe11decea8..e6dd93e791e30f5899e9d5eb05563df7ff5dd8d3 100644 (file)
@@ -299,12 +299,6 @@ extern std::string relocate_gdb_directory (const char *initial, bool relocatable
 extern int annotation_level;   /* in stack.c */
 \f
 
-/* 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);