aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c20
1 files changed, 4 insertions, 16 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 3bf9ac3f9..6e5f07ee9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3,24 +3,9 @@
3 * tiny vi.c: A small 'vi' clone 3 * tiny vi.c: A small 'vi' clone
4 * Copyright (C) 2000, 2001 Sterling Huxley <sterling@europa.com> 4 * Copyright (C) 2000, 2001 Sterling Huxley <sterling@europa.com>
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify 6 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */ 7 */
20 8
21static const char vi_Version[] =
22 "$Id: vi.c,v 1.38 2004/08/19 19:15:06 andersen Exp $";
23
24/* 9/*
25 * To compile for standalone use: 10 * To compile for standalone use:
26 * gcc -Wall -Os -s -DSTANDALONE -o vi vi.c 11 * gcc -Wall -Os -s -DSTANDALONE -o vi vi.c
@@ -85,6 +70,9 @@ static const char vi_Version[] =
85#include <stdarg.h> 70#include <stdarg.h>
86#ifndef STANDALONE 71#ifndef STANDALONE
87#include "busybox.h" 72#include "busybox.h"
73#define vi_Version BB_VER " " BB_BT
74#else
75#define vi_Version "standalone"
88#endif /* STANDALONE */ 76#endif /* STANDALONE */
89 77
90#ifdef CONFIG_LOCALE_SUPPORT 78#ifdef CONFIG_LOCALE_SUPPORT