[git commit future 1/1] xdr_intXX_t.c, xdr.h: add xdr_quad_t and xdr_u_quad_t
Peter S. Mazinger
ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=0a16d36b03e097c59dfa486018104f2b22f40e6c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
include/rpc/xdr.h | 2 ++
libc/inet/rpc/xdr_intXX_t.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 2fbe3e7..ec6cd4c 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -312,6 +312,8 @@ extern bool_t xdr_int32_t (XDR *__xdrs, int32_t *__ip) __THROW;
extern bool_t xdr_uint32_t (XDR *__xdrs, uint32_t *__up) __THROW;
extern bool_t xdr_int64_t (XDR *__xdrs, int64_t *__ip) __THROW;
extern bool_t xdr_uint64_t (XDR *__xdrs, uint64_t *__up) __THROW;
+extern bool_t xdr_quad_t (XDR *__xdrs, quad_t *__ip) __THROW;
+extern bool_t xdr_u_quad_t (XDR *__xdrs, u_quad_t *__up) __THROW;
extern bool_t xdr_bool (XDR *__xdrs, bool_t *__bp) __THROW;
libc_hidden_proto(xdr_bool)
extern bool_t xdr_enum (XDR *__xdrs, enum_t *__ep) __THROW;
diff --git a/libc/inet/rpc/xdr_intXX_t.c b/libc/inet/rpc/xdr_intXX_t.c
index ff21775..5e1f187 100644
--- a/libc/inet/rpc/xdr_intXX_t.c
+++ b/libc/inet/rpc/xdr_intXX_t.c
@@ -47,6 +47,7 @@ xdr_int64_t (XDR *xdrs, int64_t *ip)
return FALSE;
}
}
+strong_alias_untyped(xdr_int64_t,xdr_quad_t)
/* XDR 64bit unsigned integers */
bool_t
@@ -75,6 +76,7 @@ xdr_uint64_t (XDR *xdrs, uint64_t *uip)
return FALSE;
}
}
+strong_alias_untyped(xdr_uint64_t,xdr_u_quad_t)
/* XDR 32bit integers */
bool_t
--
1.7.3.4
More information about the uClibc-cvs
mailing list