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
diff --git a/src/version.c b/src/version.c
index 7d3c435..72f84c5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -682,6 +682,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    309,
+/**/
     308,
 /**/
     307,