Mercurial > hg
diff mcabber/src/settings.c @ 336:eb994ee40029
Make some functions static
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 18 Jul 2005 21:27:08 +0100 |
parents | 871e53769084 |
children | 3a25be278864 |
line wrap: on
line diff
--- a/mcabber/src/settings.c Mon Jul 18 20:10:36 2005 +0100 +++ b/mcabber/src/settings.c Mon Jul 18 21:27:08 2005 +0100 @@ -35,7 +35,7 @@ gchar *value; } T_setting; -inline GSList **get_list_ptr(guint type) +static inline GSList **get_list_ptr(guint type) { if (type == SETTINGS_TYPE_OPTION) return &option; else if (type == SETTINGS_TYPE_ALIAS) return &alias; @@ -44,7 +44,7 @@ } // Return a pointer to the node with the requested key, or NULL if none found -GSList *settings_find(GSList *list, const gchar *key) +static GSList *settings_find(GSList *list, const gchar *key) { GSList *ptr;