summaryrefslogtreecommitdiff
path: root/tirpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2015-06-10 15:47:03 -0400
committerSteve Dickson <steved@redhat.com>2015-06-16 11:34:39 -0400
commitd55cc313b8fefffb87ec1c9b5aab424fe8aca712 (patch)
treebabcc4abb8a84a92d6be5349cc716fbc803407cf /tirpc
parent109ccb9feb86e89060681cf6d185b6be69e8c6b3 (diff)
downloadti-rpc-d55cc313b8fefffb87ec1c9b5aab424fe8aca712.tar.gz
Enable rtime() API for backward compatibility with glibc's SunRPC
Note that TI-RPC redefines rtime() to use TI-RPC-style arguments. libtirpc on Linux has never provided rtime(), but glibc does. Since rtime() is something of a legacy anyway, just make our version of rtime() look and work like the glibc version. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tirpc')
-rw-r--r--tirpc/rpc/auth_des.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tirpc/rpc/auth_des.h b/tirpc/rpc/auth_des.h
index 77e169d..73103c6 100644
--- a/tirpc/rpc/auth_des.h
+++ b/tirpc/rpc/auth_des.h
@@ -127,7 +127,7 @@ extern "C" {
#endif
extern bool_t xdr_authdes_cred(XDR *, struct authdes_cred *);
extern bool_t xdr_authdes_verf(XDR *, struct authdes_verf *);
-extern int rtime(dev_t, struct netbuf *, int, struct timeval *,
+extern int rtime(struct sockaddr_in *, struct timeval *,
struct timeval *);
extern void kgetnetname(char *);
extern enum auth_stat _svcauth_des(struct svc_req *, struct rpc_msg *);