* hotlist.c: Make more variables and functions static.

This commit is contained in:
Pavel Roskin 2001-07-09 05:54:58 +00:00
parent 3f25e54361
commit 48b3cb4154
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2001-07-09 Pavel Roskin <proski@gnu.org>
* hotlist.c: Make more variables and functions static.
2001-07-08 Pavel Roskin <proski@gnu.org>
* ext.c (exec_extension) [HAVE_X]: Free file_name. Add comment

View File

@ -119,7 +119,7 @@ static struct {
int type; /* LIST_HOTLIST || LIST_VFSLIST */
} hotlist_state;
struct _hotlist_but {
static struct _hotlist_but {
int ret_cmd, flags, y, x;
char *text;
char *tkname;
@ -147,10 +147,12 @@ static struct hotlist{
struct hotlist *next;
} *hotlist = NULL;
struct hotlist *current_group;
static struct hotlist *current_group;
static void init_movelist (int, struct hotlist *);
static void add_new_group_cmd (void);
static void add_new_entry_cmd (void);
static void remove_from_hotlist (struct hotlist *entry);
void add_new_group_cmd (void);
#define new_hotlist() g_new0(struct hotlist, 1)
@ -262,9 +264,6 @@ unlink_entry (struct hotlist *entry)
entry->up = 0;
}
static void add_new_entry_cmd (void);
static void init_movelist (int, struct hotlist *);
static int hotlist_button_callback (int action, void *data)
{
switch (action) {
@ -932,7 +931,7 @@ static int add_new_group_input (char *header, char *label, char **result)
return 0;
}
void add_new_group_cmd (void)
static void add_new_group_cmd (void)
{
char *label;
int ret;