summaryrefslogtreecommitdiff
path: root/mysys/my_gethostbyname.c
diff options
context:
space:
mode:
authorHorst.Hunger <horst.hunger@sun.com>2010-11-08 16:35:46 +0100
committerHorst.Hunger <horst.hunger@sun.com>2010-11-08 16:35:46 +0100
commit8e0f8d438bd0bf97c43cee1f8c81a14b6de4f979 (patch)
treee161d2386ba62934b37dc7a1a0a9e9de8d8a75ac /mysys/my_gethostbyname.c
parentbf10c4a583a93997988b0e7fb01d9dda14bbe325 (diff)
parent83e40f9634f860d8fbb1c4877b370003ca693618 (diff)
downloadmariadb-git-8e0f8d438bd0bf97c43cee1f8c81a14b6de4f979.tar.gz
due to merge.
Diffstat (limited to 'mysys/my_gethostbyname.c')
-rw-r--r--mysys/my_gethostbyname.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysys/my_gethostbyname.c b/mysys/my_gethostbyname.c
index 067fdfee9db..12cf90271dd 100644
--- a/mysys/my_gethostbyname.c
+++ b/mysys/my_gethostbyname.c
@@ -92,8 +92,10 @@ extern pthread_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;
pthread_mutex_lock(&LOCK_gethostbyname_r);