mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Remove unused variable, and make a few variables static
darcs-hash:20060613172337-ac50b-6cae5390acdd278dc8709cfd870edfedfc0ba556.gz
This commit is contained in:
parent
b62beaf47d
commit
7c97095bca
1 changed files with 5 additions and 4 deletions
9
input.c
9
input.c
|
@ -90,7 +90,7 @@ typedef struct
|
||||||
/**
|
/**
|
||||||
Names of all the readline functions supported
|
Names of all the readline functions supported
|
||||||
*/
|
*/
|
||||||
const wchar_t *name_arr[] =
|
static const wchar_t *name_arr[] =
|
||||||
{
|
{
|
||||||
L"beginning-of-line",
|
L"beginning-of-line",
|
||||||
L"end-of-line",
|
L"end-of-line",
|
||||||
|
@ -127,7 +127,8 @@ const wchar_t *name_arr[] =
|
||||||
/**
|
/**
|
||||||
Description of each supported readline function
|
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 beginning of line",
|
||||||
L"Move to end of line",
|
L"Move to end of line",
|
||||||
|
@ -160,11 +161,11 @@ const wchar_t *desc_arr[] =
|
||||||
L"End of file"
|
L"End of file"
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
Internal code for each supported readline function
|
Internal code for each supported readline function
|
||||||
*/
|
*/
|
||||||
const wchar_t code_arr[] =
|
static const wchar_t code_arr[] =
|
||||||
{
|
{
|
||||||
R_BEGINNING_OF_LINE,
|
R_BEGINNING_OF_LINE,
|
||||||
R_END_OF_LINE,
|
R_END_OF_LINE,
|
||||||
|
|
Loading…
Reference in a new issue