diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/create_xid.c | 4 | ||||
-rw-r--r-- | sunrpc/key_call.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/create_xid.c b/sunrpc/create_xid.c index 15fb367bca..218b704913 100644 --- a/sunrpc/create_xid.c +++ b/sunrpc/create_xid.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1998 Free Software Foundation, Inc. +/* Copyright (c) 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1998. @@ -41,7 +41,7 @@ _create_xid (void) struct timeval now; __gettimeofday (&now, (struct timezone *) 0); - srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data); + __srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data); is_initialized = 1; } diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index 895e5a3a4d..6e9d4a3cb4 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -398,7 +398,7 @@ getkeyserv_handle (int vers) { /* if other side closed socket, build handle again */ clnt_control (kcp->client, CLGET_FD, (char *)&fd); - if (getpeername (fd,(struct sockaddr *)&name,&namelen) == -1) + if (__getpeername (fd,(struct sockaddr *)&name,&namelen) == -1) { auth_destroy (kcp->client->cl_auth); clnt_destroy (kcp->client); |