summaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2008-10-28 22:20:14 +0000
committerEmanuele Giaquinta <e.giaquinta@glauco.it>2008-10-28 22:20:14 +0000
commit85e3a1a488f7ec8be70626f7418074ffde5591e1 (patch)
treee82fce15cdc5321c9fb2aa0829520ef51585b482 /menu.c
parent1520cb4e0aeaef2e8c369533542186ee7c7a4bb9 (diff)
Make some functions static.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 283296af..26f3dcdf 100644
--- a/menu.c
+++ b/menu.c
@@ -150,7 +150,7 @@ static void menu_make_entry (char *s, int l, MUTTMENU *menu, int i)
menu->make_entry (s, l, menu, i);
}
-void menu_pad_string (char *s, size_t n)
+static void menu_pad_string (char *s, size_t n)
{
char *scratch = safe_strdup (s);
int shift = option (OPTARROWCURSOR) ? 3 : 0;
@@ -351,7 +351,7 @@ void menu_redraw_current (MUTTMENU *menu)
menu->redraw &= REDRAW_STATUS;
}
-void menu_redraw_prompt (MUTTMENU *menu)
+static void menu_redraw_prompt (MUTTMENU *menu)
{
if (menu->dialog)
{
@@ -477,7 +477,7 @@ void menu_prev_line (MUTTMENU *menu)
* halfdown: jumplen == pagelen/2
*/
#define DIRECTION ((neg * 2) + 1)
-void menu_length_jump (MUTTMENU *menu, int jumplen)
+static void menu_length_jump (MUTTMENU *menu, int jumplen)
{
int tmp, neg = (jumplen >= 0) ? 0 : -1;
int c = MIN (MenuContext, menu->pagelen / 2);
@@ -638,7 +638,7 @@ void menu_current_bottom (MUTTMENU *menu)
mutt_error _("No entries.");
}
-void menu_next_entry (MUTTMENU *menu)
+static void menu_next_entry (MUTTMENU *menu)
{
if (menu->current < menu->max - 1)
{
@@ -649,7 +649,7 @@ void menu_next_entry (MUTTMENU *menu)
mutt_error _("You are on the last entry.");
}
-void menu_prev_entry (MUTTMENU *menu)
+static void menu_prev_entry (MUTTMENU *menu)
{
if (menu->current)
{