Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libedit/vi.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libedit/vi.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- src/lib/libedit/vi.c 1997/01/11 06:48:19 1.2 +++ src/lib/libedit/vi.c 1997/07/06 18:25:39 1.3 @@ -1,4 +1,4 @@ -/* $NetBSD: vi.c,v 1.2 1997/01/11 06:48:19 lukem Exp $ */ +/* $NetBSD: vi.c,v 1.3 1997/07/06 18:25:39 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -36,11 +36,12 @@ * SUCH DAMAGE. */ +#include #if !defined(lint) && !defined(SCCSID) #if 0 static char sccsid[] = "@(#)vi.c 8.1 (Berkeley) 6/4/93"; #else -static char rcsid[] = "$NetBSD: vi.c,v 1.2 1997/01/11 06:48:19 lukem Exp $"; +__RCSID("$NetBSD: vi.c,v 1.3 1997/07/06 18:25:39 christos Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -50,7 +51,8 @@ static char rcsid[] = "$NetBSD: vi.c,v 1 #include "sys.h" #include "el.h" -private el_action_t cv_action __P((EditLine *, int)); +private el_action_t cv_action __P((EditLine *, int)); +private el_action_t cv_paste __P((EditLine *, int)); /* cv_action(): * Handle vi actions. @@ -109,7 +111,7 @@ cv_action(el, c) /* cv_paste(): * Paste previous deletion before or after the cursor */ -protected el_action_t +private el_action_t cv_paste(el, c) EditLine *el; int c;