diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 19:30:36 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-12-27 19:30:36 +0000 |
commit | 704e05ff173885df6d1d27f381604429f27fd4de (patch) | |
tree | fc67caec36bc5ed0c4190cafd38f69850a10ca0a /inet/ether_hton.c | |
parent | ecfe3e291f848cf598309d746619de62ea88fabb (diff) | |
parent | 3fcbb67b7949a8b362de5558bf1c6dd7ec5d21cf (diff) |
Merge branch 't/tls-threadvar' into refs/top-bases/t/ONSTACK
Diffstat (limited to 'inet/ether_hton.c')
-rw-r--r-- | inet/ether_hton.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/inet/ether_hton.c b/inet/ether_hton.c index 225604e334..37de9b8c4e 100644 --- a/inet/ether_hton.c +++ b/inet/ether_hton.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996-2016 Free Software Foundation, Inc. +/* Copyright (C) 1996-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -27,11 +27,6 @@ typedef int (*lookup_function) (const char *, struct etherent *, char *, int, int *); -/* The lookup function for the first entry of this service. */ -extern int __nss_ethers_lookup (service_user **nip, const char *name, - void **fctp) internal_function; - - int ether_hostton (const char *hostname, struct ether_addr *addr) { @@ -49,7 +44,7 @@ ether_hostton (const char *hostname, struct ether_addr *addr) if (startp == NULL) { - no_more = __nss_ethers_lookup (&nip, "gethostton_r", &fct.ptr); + no_more = __nss_ethers_lookup2 (&nip, "gethostton_r", NULL, &fct.ptr); if (no_more) startp = (service_user *) -1; else |