diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-12-08 17:11:00 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-12-08 17:11:00 +0000 |
commit | 48d0135d3edf80a042110d0940656415c758bc63 (patch) | |
tree | 8840f69a4270c889c844e494de88492b918fed0a /src | |
parent | 8a5aa22ed82ea33cc51758b11008a4f8a53a5857 (diff) | |
download | irssi-48d0135d3edf80a042110d0940656415c758bc63.zip |
Make some functions static.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/mainwindows.c | 2 | ||||
-rw-r--r-- | src/fe-text/statusbar.c | 2 | ||||
-rw-r--r-- | src/perl/common/Core.xs | 2 | ||||
-rw-r--r-- | src/perl/common/Expando.xs | 2 | ||||
-rw-r--r-- | src/perl/ui/Themes.xs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index bc043798..d70811f2 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -434,7 +434,7 @@ static void mainwindows_resize_bigger(int xdiff, int ydiff) g_slist_free(sorted); } -void mainwindows_resize_horiz(int xdiff) +static void mainwindows_resize_horiz(int xdiff) { GSList *tmp; diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c index 45bdec05..d81890e1 100644 --- a/src/fe-text/statusbar.c +++ b/src/fe-text/statusbar.c @@ -624,7 +624,7 @@ STATUSBAR_REC *statusbar_find(STATUSBAR_GROUP_REC *group, const char *name, return NULL; } -const char *statusbar_item_get_value(SBAR_ITEM_REC *item) +static const char *statusbar_item_get_value(SBAR_ITEM_REC *item) { const char *value; diff --git a/src/perl/common/Core.xs b/src/perl/common/Core.xs index 4032340a..1a7ee18d 100644 --- a/src/perl/common/Core.xs +++ b/src/perl/common/Core.xs @@ -7,7 +7,7 @@ #define DEFAULT_COMMAND_CATEGORY "Perl scripts' commands" -void perl_signal_add_hash(int priority, SV *sv) +static void perl_signal_add_hash(int priority, SV *sv) { HV *hv; HE *he; diff --git a/src/perl/common/Expando.xs b/src/perl/common/Expando.xs index 5bf27bec..31b4f990 100644 --- a/src/perl/common/Expando.xs +++ b/src/perl/common/Expando.xs @@ -100,7 +100,7 @@ static char *sig_perl_expando(SERVER_REC *server, void *item, int *free_ret) return NULL; } -void expando_signals_add_hash(const char *key, SV *signals) +static void expando_signals_add_hash(const char *key, SV *signals) { HV *hv; HE *he; diff --git a/src/perl/ui/Themes.xs b/src/perl/ui/Themes.xs index 4afd437c..76675e7b 100644 --- a/src/perl/ui/Themes.xs +++ b/src/perl/ui/Themes.xs @@ -1,6 +1,6 @@ #include "module.h" -void printformat_perl(TEXT_DEST_REC *dest, char *format, char **arglist) +static void printformat_perl(TEXT_DEST_REC *dest, char *format, char **arglist) { THEME_REC *theme; char *module, *str; |