aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2006-04-05 14:17:24 +0000
committerPaul Fox <pgf@brightstareng.com>2006-04-05 14:17:24 +0000
commitb7b24d61e012eefd8bfc510147fca016f347a349 (patch)
treeec8972fef6f451fba6e0ce0d433e0a7d7c004d78
parent19af279d169d78f1c6dbe7dd22b051c2eabec0c5 (diff)
downloadbusybox-w32-b7b24d61e012eefd8bfc510147fca016f347a349.tar.gz
busybox-w32-b7b24d61e012eefd8bfc510147fca016f347a349.tar.bz2
busybox-w32-b7b24d61e012eefd8bfc510147fca016f347a349.zip
adjust ifdefs for inclusion of string_insert() routine
-rw-r--r--editors/vi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 2852b384a..9aacae439 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -302,9 +302,9 @@ static void window_size_get(int); // find out what size the window is
302#ifdef CONFIG_FEATURE_VI_SETOPTS 302#ifdef CONFIG_FEATURE_VI_SETOPTS
303static void showmatching(Byte *); // show the matching pair () [] {} 303static void showmatching(Byte *); // show the matching pair () [] {}
304#endif /* CONFIG_FEATURE_VI_SETOPTS */ 304#endif /* CONFIG_FEATURE_VI_SETOPTS */
305#if defined(CONFIG_FEATURE_VI_YANKMARK) || defined(CONFIG_FEATURE_VI_COLON) || defined(CONFIG_FEATURE_VI_CRASHME) 305#if defined(CONFIG_FEATURE_VI_YANKMARK) || defined(CONFIG_FEATURE_VI_SEARCH) || defined(CONFIG_FEATURE_VI_CRASHME)
306static Byte *string_insert(Byte *, Byte *); // insert the string at 'p' 306static Byte *string_insert(Byte *, Byte *); // insert the string at 'p'
307#endif /* CONFIG_FEATURE_VI_YANKMARK || CONFIG_FEATURE_VI_COLON || CONFIG_FEATURE_VI_CRASHME */ 307#endif /* CONFIG_FEATURE_VI_YANKMARK || CONFIG_FEATURE_VI_SEARCH || CONFIG_FEATURE_VI_CRASHME */
308#ifdef CONFIG_FEATURE_VI_YANKMARK 308#ifdef CONFIG_FEATURE_VI_YANKMARK
309static Byte *text_yank(Byte *, Byte *, int); // save copy of "p" into a register 309static Byte *text_yank(Byte *, Byte *, int); // save copy of "p" into a register
310static Byte what_reg(void); // what is letter of current YDreg 310static Byte what_reg(void); // what is letter of current YDreg
@@ -2008,7 +2008,7 @@ static void end_cmd_q(void)
2008} 2008}
2009#endif /* CONFIG_FEATURE_VI_DOT_CMD */ 2009#endif /* CONFIG_FEATURE_VI_DOT_CMD */
2010 2010
2011#if defined(CONFIG_FEATURE_VI_YANKMARK) || defined(CONFIG_FEATURE_VI_COLON) || defined(CONFIG_FEATURE_VI_CRASHME) 2011#if defined(CONFIG_FEATURE_VI_YANKMARK) || defined(CONFIG_FEATURE_VI_SEARCH) || defined(CONFIG_FEATURE_VI_CRASHME)
2012static Byte *string_insert(Byte * p, Byte * s) // insert the string at 'p' 2012static Byte *string_insert(Byte * p, Byte * s) // insert the string at 'p'
2013{ 2013{
2014 int cnt, i; 2014 int cnt, i;