cvs commit: src/lib/libc/yp yplib.c src/include/rpcsvc ypclnt.h
YONETANI Tomokazu
qhwt+dfly at les.ath.cx
Mon Apr 25 19:37:09 PDT 2005
On Mon, Apr 25, 2005 at 11:52:28AM -0700, Joerg Sonnenberger wrote:
> joerg 2005/04/25 11:52:28 PDT
>
> DragonFly src repository
>
> Modified files:
> lib/libc/yp yplib.c
> include/rpcsvc ypclnt.h
> Log:
> First stab at WARNS=6 cleaning. More will be done once I figure out
> how to teach rpcgen const.
>
> Revision Changes Path
> 1.5 +69 -35 src/lib/libc/yp/yplib.c
> 1.5 +2 -2 src/include/rpcsvc/ypclnt.h
xdryp.c uses non-public pointers ypresp_allfn and ypresp_data declared
via extern. Can you probably add a private header file and prototype them
in there?
lib/libc/yp/xdryp.c:extern int (*ypresp_allfn)();
lib/libc/yp/xdryp.c: r = (*ypresp_allfn)(status,
lib/libcr/yp/xdryp.c:extern int (*ypresp_allfn)();
lib/libcr/yp/xdryp.c: r = (*ypresp_allfn)(status,
lib/libcr/yp/yplib.c:int (*ypresp_allfn)();
lib/libcr/yp/yplib.c: ypresp_allfn = incallback->foreach;
libexec/ypxfr/ypxfr_getmap.c:int (*ypresp_allfn)();
libexec/ypxfr/ypxfr_getmap.c: ypresp_allfn = callback;
More information about the Commits
mailing list