summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-07-12 19:49:41 +0000
committerBram Moolenaar <Bram@vim.org>2006-07-12 19:49:41 +0000
commitce6ef25cef1fb542b3d9bd6a52a55b6418934e6d (patch)
tree39d5ab6f7e2e24110997acc51f4d16699ddbca96 /src/undo.c
parenta3f2ecdecb2854f1c0da13dc80435ddf7df2c57c (diff)
downloadvim-git-ce6ef25cef1fb542b3d9bd6a52a55b6418934e6d.tar.gz
updated for version 7.0-038v7.0.038
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/undo.c b/src/undo.c
index fd1bcc79c..6a9864104 100644
--- 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. */