mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Make some functions static.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4815 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e32e6fea4b
commit
09afda5234
@ -62,7 +62,7 @@ static const char *completion_find(const char *key, int automatic)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Return whole word at specified position in string */
|
/* Return whole word at specified position in string */
|
||||||
char *get_word_at(const char *str, int pos, char **startpos)
|
static char *get_word_at(const char *str, int pos, char **startpos)
|
||||||
{
|
{
|
||||||
const char *start, *end;
|
const char *start, *end;
|
||||||
|
|
||||||
@ -255,7 +255,7 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase)
|
|||||||
((!g_path_is_absolute(path) || IS_CURRENT_DIR(path)) && \
|
((!g_path_is_absolute(path) || IS_CURRENT_DIR(path)) && \
|
||||||
default_path != NULL)
|
default_path != NULL)
|
||||||
|
|
||||||
GList *list_add_file(GList *list, const char *name, const char *default_path)
|
static GList *list_add_file(GList *list, const char *name, const char *default_path)
|
||||||
{
|
{
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
char *fname;
|
char *fname;
|
||||||
@ -463,7 +463,7 @@ static GList *completion_get_subcommands(const char *cmd)
|
|||||||
return complist;
|
return complist;
|
||||||
}
|
}
|
||||||
|
|
||||||
GList *completion_get_options(const char *cmd, const char *option)
|
static GList *completion_get_options(const char *cmd, const char *option)
|
||||||
{
|
{
|
||||||
COMMAND_REC *rec;
|
COMMAND_REC *rec;
|
||||||
GList *list;
|
GList *list;
|
||||||
|
Loading…
Reference in New Issue
Block a user