summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/inet/getaddrinfo.c1
-rw-r--r--libc/inet/hostid.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index fa943034d..df802f1d4 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -80,7 +80,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
libc_hidden_proto(socket)
libc_hidden_proto(close)
libc_hidden_proto(getservbyname_r)
-libc_hidden_proto(gethostbyname_r)
libc_hidden_proto(gethostbyname2_r)
libc_hidden_proto(gethostbyaddr_r)
libc_hidden_proto(inet_pton)
diff --git a/libc/inet/hostid.c b/libc/inet/hostid.c
index c11ab6c12..4972dcec2 100644
--- a/libc/inet/hostid.c
+++ b/libc/inet/hostid.c
@@ -22,7 +22,7 @@ libc_hidden_proto(read)
libc_hidden_proto(write)
libc_hidden_proto(getuid)
libc_hidden_proto(geteuid)
-libc_hidden_proto(gethostbyname)
+libc_hidden_proto(gethostbyname_r)
libc_hidden_proto(gethostname)
#define HOSTID "/etc/hostid"