updated for version 7.2-309
diff --git a/src/regexp.c b/src/regexp.c
index e507e40..037222e 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -7214,6 +7214,8 @@
 }
 
 #ifdef FEAT_EVAL
+static char_u *reg_getline_submatch __ARGS((linenr_T lnum));
+
 /*
  * Call reg_getline() with the line numbers from the submatch.  If a
  * substitute() was used the reg_maxline and other values have been