Mercurial > pidgin
diff src/server.c @ 10850:fa06fda62868
[gaim-migrate @ 12522]
GET OUTTA MY HOUSE!!!
Thanks to Gary for showing me a list of non-namespaced stuff. I'm sure
I missed some.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 19 Apr 2005 04:43:13 +0000 |
parents | 53e7884c549a |
children | 2409700be3dc |
line wrap: on
line diff
--- a/src/server.c Tue Apr 19 04:21:39 2005 +0000 +++ b/src/server.c Tue Apr 19 04:43:13 2005 +0000 @@ -79,7 +79,8 @@ time_t sent; }; -gboolean expire_last_auto_responses(gpointer data) +static gboolean +expire_last_auto_responses(gpointer data) { GSList *tmp, *cur; struct last_auto_response *lar; @@ -100,7 +101,8 @@ return FALSE; /* do not run again */ } -struct last_auto_response *get_last_auto_response(GaimConnection *gc, const char *name) +static struct last_auto_response * +get_last_auto_response(GaimConnection *gc, const char *name) { GSList *tmp; struct last_auto_response *lar; @@ -129,25 +131,6 @@ return lar; } -void flush_last_auto_responses(GaimConnection *gc) -{ - GSList *tmp, *cur; - struct last_auto_response *lar; - - tmp = last_auto_responses; - - while (tmp) { - cur = tmp; - tmp = tmp->next; - lar = (struct last_auto_response *)cur->data; - - if (lar->gc == gc) { - last_auto_responses = g_slist_remove(last_auto_responses, lar); - g_free(lar); - } - } -} - int serv_send_im(GaimConnection *gc, const char *name, const char *message, GaimConvImFlags imflags) {