From 0e653491c1c579a7d5f9a87321e7775fb44725e8 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 11 Nov 2005 02:26:04 +0000 Subject: [PATCH] * choosesyntax.c: Make undeclared functions static. * editmenu.c: Likewise. * usermap.c: Likewise. --- edit/ChangeLog | 6 ++++++ edit/choosesyntax.c | 2 +- edit/editmenu.c | 6 ++++-- edit/usermap.c | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/edit/ChangeLog b/edit/ChangeLog index 07afc0ed7..5729a1cd0 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,3 +1,9 @@ +2005-11-10 Pavel Roskin + + * choosesyntax.c: Make undeclared functions static. + * editmenu.c: Likewise. + * usermap.c: Likewise. + 2005-10-04 Leonard den Ottolander * editcmd.c (edit_replace_dialog): Replace duplicate hotkey. diff --git a/edit/choosesyntax.c b/edit/choosesyntax.c index aa0203cc1..a319382a1 100644 --- a/edit/choosesyntax.c +++ b/edit/choosesyntax.c @@ -26,7 +26,7 @@ #define LIST_LINES 14 #define N_DFLT_ENTRIES 2 -int +static int exec_edit_syntax_dialog (const char **names) { int i; diff --git a/edit/editmenu.c b/edit/editmenu.c index fcfd64ddb..f152c3e8a 100644 --- a/edit/editmenu.c +++ b/edit/editmenu.c @@ -420,7 +420,8 @@ static menu_entry OptMenu[] = #define menu_entries(x) sizeof(x)/sizeof(menu_entry) -void edit_init_menu_normal (struct Menu *EditMenuBar[]) +static void +edit_init_menu_normal (struct Menu *EditMenuBar[]) { EditMenuBar[0] = create_menu (_(" File "), FileMenu, menu_entries (FileMenu), "[Internal File Editor]"); @@ -434,7 +435,8 @@ void edit_init_menu_normal (struct Menu *EditMenuBar[]) "[Internal File Editor]"); } -void edit_init_menu_emacs (struct Menu *EditMenuBar[]) +static void +edit_init_menu_emacs (struct Menu *EditMenuBar[]) { EditMenuBar[0] = create_menu (_(" File "), FileMenuEmacs, menu_entries (FileMenuEmacs), "[Internal File Editor]"); diff --git a/edit/usermap.c b/edit/usermap.c index 881ce0d41..af0f02343 100644 --- a/edit/usermap.c +++ b/edit/usermap.c @@ -565,7 +565,7 @@ parse_file(config_t *cfg, const char *file, const command_t *cmd) return TRUE; } -gboolean +static gboolean load_user_keymap(config_t *cfg, const char *file) { const command_t cmd[] = {