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_maplist.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/yp/yp_maplist.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- src/lib/libc/yp/yp_maplist.c 1997/07/13 20:28:12 1.5 +++ src/lib/libc/yp/yp_maplist.c 1997/07/21 14:09:27 1.6 @@ -1,4 +1,4 @@ -/* $NetBSD: yp_maplist.c,v 1.5 1997/07/13 20:28:12 christos Exp $ */ +/* $NetBSD: yp_maplist.c,v 1.6 1997/07/21 14:09:27 jtc Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt @@ -33,9 +33,10 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: yp_maplist.c,v 1.5 1997/07/13 20:28:12 christos Exp $"); +__RCSID("$NetBSD: yp_maplist.c,v 1.6 1997/07/21 14:09:27 jtc Exp $"); #endif +#include "namespace.h" #include #include #include @@ -45,6 +46,10 @@ __RCSID("$NetBSD: yp_maplist.c,v 1.5 199 extern struct timeval _yplib_timeout; extern int _yplib_nerrs; +#ifdef __weak_alias +__weak_alias(yp_maplist,_yp_maplist); +#endif + int yp_maplist(indomain, outmaplist) const char *indomain; @@ -75,6 +80,6 @@ again: } *outmaplist = ypml.list; /* NO: xdr_free(xdr_ypresp_maplist, &ypml); */ - _yp_unbind(ysd); + __yp_unbind(ysd); return ypprot_err(ypml.status); }