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 *);