* sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases.
* sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t.
* sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t.
2004-09-27 Ulrich Drepper <drepper@redhat.com>
+ * sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases.
+ * sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t.
* sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER.
Otherwise isvectordef will loop infinitely if typedef hyper int64_t
is seen.
(unsigned_dec): Use "u_quad_t" for similar reasons.
+ * sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t.
2004-09-27 Roland McGrath <roland@redhat.com>
__rpc_thread_svc_fdset; __rpc_thread_createerr;
__rpc_thread_svc_pollfd; __rpc_thread_svc_max_pollfd;
}
+ GLIBC_2.3.4 {
+ xdr_quad_t; xdr_u_quad_t;
+ }
}
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;
extern bool_t xdr_enum (XDR *__xdrs, enum_t *__ep) __THROW;
extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep,
-/* Copyright (c) 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (c) 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998.
02111-1307 USA. */
#include <rpc/types.h>
+
+/* We play dirty tricks with aliases. */
+#define xdr_quad_t Xdr_quad_t
+#define xdr_u_quad_t Xdr_u_quad_t
#include <rpc/xdr.h>
+#undef xdr_quad_t
+#undef xdr_u_quad_t
+
/* XDR 64bit integers */
bool_t
return FALSE;
}
}
+strong_alias (xdr_int64_t, xdr_quad_t)
/* XDR 64bit unsigned integers */
bool_t
return FALSE;
}
}
+strong_alias (xdr_int64_t, xdr_u_quad_t)
/* XDR 32bit integers */
bool_t