summaryrefslogtreecommitdiff
path: root/sal/osl/unx/system.hxx
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2019-03-16 15:55:01 +0300
committerStephan Bergmann <sbergman@redhat.com>2019-03-27 09:42:36 +0100
commite5aa36f4f1bb63d2ff621f701291cca391aa53a4 (patch)
tree33ab31b8f8b8aeba0e009d6e7efabe6ff16be2da /sal/osl/unx/system.hxx
parent74907a1f7702a9dab3ffc6f6072c6972cbbde4ea (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.hxx2
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