aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-14 03:23:37 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-14 03:23:37 +1000
commit7c97095bcade94230c679198ef228917cd5a7f83 (patch)
tree68a99ac8aaa2dbb4d93975adde194310e92b97fd /input.c
parentb62beaf47d9b0839f8d401b92a055cd612cdbbcb (diff)
Remove unused variable, and make a few variables static
darcs-hash:20060613172337-ac50b-6cae5390acdd278dc8709cfd870edfedfc0ba556.gz
Diffstat (limited to 'input.c')
-rw-r--r--input.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/input.c b/input.c
index 8ae47311..cf2744d1 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,