diff src/undo.c @ 912:adf6a9dcaded v7.0.038

updated for version 7.0-038
author vimboss
date Wed, 12 Jul 2006 19:49:41 +0000
parents 1f3b1021f002
children b2dcb8457067
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -84,7 +84,6 @@
 static void u_unch_branch __ARGS((u_header_T *uhp));
 static u_entry_T *u_get_headentry __ARGS((void));
 static void u_getbot __ARGS((void));
-static int undo_allowed __ARGS((void));
 static int u_savecommon __ARGS((linenr_T, linenr_T, linenr_T));
 static void u_doit __ARGS((int count));
 static void u_undoredo __ARGS((int undo));
@@ -196,7 +195,7 @@ u_savedel(lnum, nlines)
  * Return TRUE when undo is allowed.  Otherwise give an error message and
  * return FALSE.
  */
-    static int
+    int
 undo_allowed()
 {
     /* Don't allow changes when 'modifiable' is off.  */