From 7c97095bcade94230c679198ef228917cd5a7f83 Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 14 Jun 2006 03:23:37 +1000 Subject: [PATCH] Remove unused variable, and make a few variables static darcs-hash:20060613172337-ac50b-6cae5390acdd278dc8709cfd870edfedfc0ba556.gz --- input.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/input.c b/input.c index 8ae473112..cf2744d1d 100644 --- a/input.c +++ b/input.c @@ -90,7 +90,7 @@ typedef struct /** Names of all the readline functions supported */ -const wchar_t *name_arr[] = +static const wchar_t *name_arr[] = { L"beginning-of-line", L"end-of-line", @@ -127,7 +127,8 @@ const wchar_t *name_arr[] = /** Description of each supported readline function */ -const wchar_t *desc_arr[] = +/* +static const wchar_t *desc_arr[] = { L"Move to beginning of line", L"Move to end of line", @@ -160,11 +161,11 @@ const wchar_t *desc_arr[] = L"End of file" } ; - +*/ /** Internal code for each supported readline function */ -const wchar_t code_arr[] = +static const wchar_t code_arr[] = { R_BEGINNING_OF_LINE, R_END_OF_LINE,