diff options
author | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 12:30:06 -0200 |
---|---|---|
committer | Davi Arnaut <davi.arnaut@oracle.com> | 2010-10-19 12:30:06 -0200 |
commit | a7c933384c6e8e1706235fbbf9572740a3ecd931 (patch) | |
tree | 67d1a3dc3909318f32e8ede4989ed6f9a9190208 /mysys/my_gethostbyname.c | |
parent | a6df37dbbf2ba51b6785576a946f664b0996c03c (diff) | |
parent | be170c213fa285acfb79e06ba249a9bb30155275 (diff) | |
download | mariadb-git-a7c933384c6e8e1706235fbbf9572740a3ecd931.tar.gz |
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
Diffstat (limited to 'mysys/my_gethostbyname.c')
-rw-r--r-- | mysys/my_gethostbyname.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mysys/my_gethostbyname.c b/mysys/my_gethostbyname.c index 4b7e9054d61..8a9c721c2fb 100644 --- a/mysys/my_gethostbyname.c +++ b/mysys/my_gethostbyname.c @@ -92,8 +92,10 @@ extern mysql_mutex_t LOCK_gethostbyname_r; */ struct hostent *my_gethostbyname_r(const char *name, - struct hostent *result, char *buffer, - int buflen, int *h_errnop) + struct hostent *res __attribute__((unused)), + char *buffer __attribute__((unused)), + int buflen __attribute__((unused)), + int *h_errnop) { struct hostent *hp; mysql_mutex_lock(&LOCK_gethostbyname_r); |