Libraries updates and cleanup
* Updating common/lib * Updating lib/csu * Updating lib/libc * Updating libexec/ld.elf_so * Corrected test on __minix in featuretest to actually follow the meaning of the comment. * Cleaned up _REENTRANT-related defintions. * Disabled -D_REENTRANT for libfetch * Removing some unneeded __NBSD_LIBC defines and tests Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
This commit is contained in:
+3
-4
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: xdr.h,v 1.25 2005/12/28 15:26:06 yamt Exp $ */
|
||||
/* $NetBSD: xdr.h,v 1.27 2011/08/30 17:09:51 plunky Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
@@ -130,10 +130,8 @@ typedef struct __rpc_xdr {
|
||||
* The opaque pointer generally points to a structure of the data type
|
||||
* to be decoded. If this pointer is 0, then the type routines should
|
||||
* allocate dynamic storage of the appropriate size and return it.
|
||||
*
|
||||
* XXX can't actually prototype it, because some take three args!!!
|
||||
*/
|
||||
typedef bool_t (*xdrproc_t)(/* XDR *, void *, u_int */);
|
||||
typedef bool_t (*xdrproc_t)(XDR *, const void *);
|
||||
|
||||
/*
|
||||
* Operations defined on a XDR handle
|
||||
@@ -313,6 +311,7 @@ extern bool_t xdr_hyper(XDR *, longlong_t *);
|
||||
extern bool_t xdr_u_hyper(XDR *, u_longlong_t *);
|
||||
extern bool_t xdr_longlong_t(XDR *, longlong_t *);
|
||||
extern bool_t xdr_u_longlong_t(XDR *, u_longlong_t *);
|
||||
extern unsigned long xdr_sizeof(xdrproc_t, void *);
|
||||
__END_DECLS
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user