Commit b8faa8f2 authored by Magne Mahre's avatar Magne Mahre

Fix-up after commit of Bug#11900714

The patch fixes a build problem on MacOSX, where
the compiler complains about unused parameters.
parent a7d383cb
...@@ -112,8 +112,10 @@ extern pthread_mutex_t LOCK_gethostbyname_r; ...@@ -112,8 +112,10 @@ extern pthread_mutex_t LOCK_gethostbyname_r;
*/ */
struct hostent *my_gethostbyname_r(const char *name, struct hostent *my_gethostbyname_r(const char *name,
struct hostent *result, char *buffer, struct hostent *result __attribute__((unused)),
int buflen, int *h_errnop) char *buffer __attribute__((unused)),
int buflen __attribute__((unused)),
int *h_errnop)
{ {
struct hostent *hp; struct hostent *hp;
pthread_mutex_lock(&LOCK_gethostbyname_r); pthread_mutex_lock(&LOCK_gethostbyname_r);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment