Remove unused variable, and make a few variables static

darcs-hash:20060613172337-ac50b-6cae5390acdd278dc8709cfd870edfedfc0ba556.gz
This commit is contained in:
axel 2006-06-14 03:23:37 +10:00
parent b62beaf47d
commit 7c97095bca

View File

@ -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,