diff options
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/rtime.c | 2 | ||||
-rw-r--r-- | tirpc/rpc/auth_des.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 1bf719e..6cc567a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -69,8 +69,7 @@ if GSS endif libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c -libtirpc_la_SOURCES += netname.c netnamer.c -## libtirpc_a_SOURCES += rtime.c \ +libtirpc_la_SOURCES += netname.c netnamer.c rtime.c CLEANFILES = cscope.* *~ DISTCLEANFILES = Makefile.in diff --git a/src/rtime.c b/src/rtime.c index 2624998..c34e0af 100644 --- a/src/rtime.c +++ b/src/rtime.c @@ -71,7 +71,7 @@ rtime(addrp, timep, timeout) int res; unsigned long thetime; struct sockaddr_in from; - int fromlen; + socklen_t fromlen; int type; struct servent *serv; 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 *); |