summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/getrpcport.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/getrpcport.c')
-rw-r--r--libc/inet/rpc/getrpcport.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/inet/rpc/getrpcport.c b/libc/inet/rpc/getrpcport.c
index 0a57d1da9..84f1e5ff5 100644
--- a/libc/inet/rpc/getrpcport.c
+++ b/libc/inet/rpc/getrpcport.c
@@ -35,9 +35,6 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
* Copyright (c) 1985 by Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC
-#include <features.h>
-
#include <alloca.h>
#include <errno.h>
#include <stdio.h>
@@ -48,9 +45,6 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
#include <rpc/pmap_clnt.h>
#include <sys/socket.h>
-/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(pmap_getport)
-libc_hidden_proto(gethostbyname_r)
int
getrpcport (const char *host, u_long prognum, u_long versnum, u_int proto)