aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rust-exp.y')
-rw-r--r--gdb/rust-exp.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y
index 3ab9e26..de4a816 100644
--- a/gdb/rust-exp.y
+++ b/gdb/rust-exp.y
@@ -2826,8 +2826,9 @@ rust_lex_tests (void)
#endif /* GDB_SELF_TEST */
+void _initialize_rust_exp ();
void
-_initialize_rust_exp (void)
+_initialize_rust_exp ()
{
int code = regcomp (&number_regex, number_regex_text, REG_EXTENDED);
/* If the regular expression was incorrect, it was a programming