aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_regex.h')
-rw-r--r--gdb/gdb_regex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdb_regex.h b/gdb/gdb_regex.h
index 14475fc..cf91f19 100644
--- a/gdb/gdb_regex.h
+++ b/gdb/gdb_regex.h
@@ -30,5 +30,7 @@
/* From utils.c. */
struct cleanup *make_regfree_cleanup (regex_t *);
char *get_regcomp_error (int, regex_t *);
+struct cleanup *compile_rx_or_error (regex_t *pattern, const char *rx,
+ const char *message);
#endif /* not GDB_REGEX_H */