diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-03-16 15:55:01 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-03-27 09:42:36 +0100 |
commit | e5aa36f4f1bb63d2ff621f701291cca391aa53a4 (patch) | |
tree | 33ab31b8f8b8aeba0e009d6e7efabe6ff16be2da /sal/osl/unx/system.hxx | |
parent | 74907a1f7702a9dab3ffc6f6072c6972cbbde4ea (diff) |
Replace gethostbyname_r with getaddrinfo
The gethostbyname*() functions are obsolete.
Change-Id: I14a55eba3f111a3280f23955ffd86843079c7e75
Reviewed-on: https://gerrit.libreoffice.org/69337
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal/osl/unx/system.hxx')
-rw-r--r-- | sal/osl/unx/system.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx index 57c418070a73..bbf9c0449357 100644 --- a/sal/osl/unx/system.hxx +++ b/sal/osl/unx/system.hxx @@ -376,8 +376,6 @@ extern struct spwd *getspnam_r(const char *name, struct spwd *result, struct tm *localtime_r(const time_t *timep, struct tm *buffer); struct tm *gmtime_r(const time_t *timep, struct tm *buffer); #endif -struct hostent *gethostbyname_r(const char *name, struct hostent *result, - char *buffer, size_t buflen, int *h_errnop); #endif /* !defined(FREEBSD) */ #endif |