[git commit] xdr_intXX_t.c,xdr.h: add xdr_quad_t and xdr_u_quad_t
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:27 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=c6d15bc06b8e1bd2cad288d69ec821aa5d1202b5
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
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
More information about the uClibc-cvs
mailing list