summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libnsl-getdomainname.patch
blob: b9b76bb2ad11b5810723b90fd217d5ca2e982a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: getdomainname is define in unistd and visible by default
Index: b/usr/src/lib/libnsl/yp/yp_bind.c
===================================================================
--- a/usr/src/lib/libnsl/yp/yp_bind.c
+++ b/usr/src/lib/libnsl/yp/yp_bind.c
@@ -55,8 +55,6 @@ int	 __ypipbufsize = 8192;		/* size used
 
 /* This should match the one in ypbind.c */
 
-extern int getdomainname(char *, int);
-
 static CLIENT *getclnt(rpcprog_t, rpcvers_t, struct netconfig *, int *);
 static struct dom_binding *load_dom_binding(struct ypbind_resp *, char *,
     int *);