diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-12 02:02:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-12 02:02:20 +0000 |
commit | 7a8bdff02c8bc80d5068eadf83302595d11f46d4 (patch) | |
tree | 4f55261ddbc4238511bf0a8f3a0d935407e56609 /sunrpc | |
parent | a83f1ae4c84302888c9fee52502dff8e8bdac4e5 (diff) |
* sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!).
* sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64):
Evaluate argument exactly once. Remove __volatile__ from asm's.
* include/unistd.h: Use libc_hidden_proto for getdomainname
and getlogin_r.
* sysdeps/generic/getdomain.c: Add libc_hidden_def.
* sysdeps/mach/hurd/getdomain.c: Likewise.
* sysdeps/unix/getlogin_r.c: Likewise.
* sysdeps/mach/hurd/getlogin_r.c: Likewise.
* sysdeps/generic/getlogin_r.c: Likewise.
* include/rpc/auth_des.h: Use libc_hidden_proto for rtime.
* sunrpc/rtime.c: Add libc_hidden_def.
* include/string.h: Use libc_hidden_proto for basename.
* string/basename.c [_LIBC]: Add libc_hidden_def.
* sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket.
* locale/loadarchive.c: munmap -> __munmap throughout.
* include/netdb.h: Use libc_hidden_proto for gai_strerror.
* sysdeps/posix/gai_strerror.c: Add libc_hidden_def.
* sysdeps/generic/gai_strerror.c: Likewise.
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/rtime.c | 1 | ||||
-rw-r--r-- | sunrpc/svc_authux.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c index 0c6d2effe0..4996f01ba9 100644 --- a/sunrpc/rtime.c +++ b/sunrpc/rtime.c @@ -145,3 +145,4 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep, timep->tv_usec = 0; return 0; } +libc_hidden_def (rtime) diff --git a/sunrpc/svc_authux.c b/sunrpc/svc_authux.c index e5edac71e8..5b64c3d036 100644 --- a/sunrpc/svc_authux.c +++ b/sunrpc/svc_authux.c @@ -104,8 +104,6 @@ _svcauth_unix (struct svc_req *rqst, struct rpc_msg *msg) */ if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { - (void) printf ("bad auth_len gid %d str %d auth %d\n", - gid_len, str_len, auth_len); stat = AUTH_BADCRED; goto done; } |