summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rpc/xdr.h2
-rw-r--r--libc/inet/rpc/xdr_intXX_t.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 2fbe3e7b9..ec6cd4c7e 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 ff2177584..5e1f18756 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