Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/yp/yp_order.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/lib/libc/yp/yp_order.c 1997/07/13 20:28:15 1.6 +++ src/lib/libc/yp/yp_order.c 1997/07/21 14:09:30 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: yp_order.c,v 1.6 1997/07/13 20:28:15 christos Exp $ */ +/* $NetBSD: yp_order.c,v 1.7 1997/07/21 14:09:30 jtc Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt @@ -33,9 +33,10 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: yp_order.c,v 1.6 1997/07/13 20:28:15 christos Exp $"); +__RCSID("$NetBSD: yp_order.c,v 1.7 1997/07/21 14:09:30 jtc Exp $"); #endif +#include "namespace.h" #include #include #include @@ -45,6 +46,10 @@ __RCSID("$NetBSD: yp_order.c,v 1.6 1997/ extern struct timeval _yplib_timeout; extern int _yplib_nerrs; +#ifdef __weak_alias +__weak_alias(yp_order,_yp_order); +#endif + int yp_order(indomain, inmap, outorder) const char *indomain; @@ -93,6 +98,6 @@ again: xdr_free(xdr_ypresp_order, (char *) &ypro); r = ypprot_err(ypro.status); bail: - _yp_unbind(ysd); + __yp_unbind(ysd); return r; }