summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libnsl-getdomainname.patch
blob: 25d09a5c25448b6a54f93f645887e17223625778 (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: libc/usr/src/lib/libnsl/yp/yp_bind.c
===================================================================
--- libc.orig/usr/src/lib/libnsl/yp/yp_bind.c
+++ libc/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 *);