Mercurial > pidgin.yaz
changeset 30101:eb8b1cfd3349
Silence some gadu-gadu warnings
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 09 Apr 2010 02:16:10 +0000 |
parents | ba65c87144fa |
children | 584da76ea3ad |
files | libpurple/protocols/gg/lib/common.c libpurple/protocols/gg/lib/libgadu.h libpurple/protocols/gg/lib/resolver.c |
diffstat | 3 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/common.c Thu Apr 08 04:14:06 2010 +0000 +++ b/libpurple/protocols/gg/lib/common.c Fri Apr 09 02:16:10 2010 +0000 @@ -101,7 +101,7 @@ * \param format Format wiadomości (zgodny z \c printf) * \param ap Lista argumentów (zgodna z \c printf) */ -void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap) +static void gg_debug_common(struct gg_session *sess, int level, const char *format, va_list ap) { if (gg_debug_handler_session) (*gg_debug_handler_session)(sess, level, format, ap);
--- a/libpurple/protocols/gg/lib/libgadu.h Thu Apr 08 04:14:06 2010 +0000 +++ b/libpurple/protocols/gg/lib/libgadu.h Fri Apr 09 02:16:10 2010 +0000 @@ -1244,6 +1244,10 @@ struct gg_http *gg_change_passwd2(uin_t uin, const char *passwd, const char *newpasswd, const char *email, const char *newemail, int async) GG_DEPRECATED; struct gg_http *gg_change_passwd3(uin_t uin, const char *passwd, const char *newpasswd, const char *qa, int async) GG_DEPRECATED; +int gg_resolve(int *fd, int *pid, const char *hostname) GG_DEPRECATED; +void gg_resolve_pthread_cleanup(void *arg, int kill) GG_DEPRECATED; +int gg_resolve_pthread(int *fd, void **resolver, const char *hostname) GG_DEPRECATED; + struct gg_change_info_request { char *first_name; char *last_name;
--- a/libpurple/protocols/gg/lib/resolver.c Thu Apr 08 04:14:06 2010 +0000 +++ b/libpurple/protocols/gg/lib/resolver.c Fri Apr 09 02:16:10 2010 +0000 @@ -585,7 +585,7 @@ * danych * \param force Flaga usuwania zasobów przed zakończeniem działania */ -void gg_resolver_fork_cleanup(void **priv_data, int force) +static void gg_resolver_fork_cleanup(void **priv_data, int force) { struct gg_resolver_fork_data *data;