DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc/yp yplib.c src/include/rpcsvc ypclnt.h


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Tue, 26 Apr 2005 11:35:51 +0900

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;



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]