about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-06 06:09:28 +0000
committerRoland McGrath <roland@gnu.org>2002-08-06 06:09:28 +0000
commit9b0b40d35e239d33fbb66ebe88b7249f9a8f006e (patch)
tree99757a9381e77c9b6c37b72822230e833a8f9a02 /sunrpc
parente2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be (diff)
downloadglibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.tar.gz
glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.tar.xz
glibc-9b0b40d35e239d33fbb66ebe88b7249f9a8f006e.zip
* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
	netname2user, host2netname, user2netname, key_gendes.
	* sunrpc/netname.c: Add libc_hidden_def.
	* sunrpc/key_call.c: Likewise.

	* include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo,
	freeaddrinfo.
	* inet/getnameinfo.c: Add libc_hidden_def.
	* sysdeps/generic/getaddrinfo.c: Likewise.
	* sysdeps/posix/getaddrinfo.c: Likewise.

	* include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset.
	* wcsmbs/wmemchr.c: Add libc_hidden_def.
	* wcsmbs/wmemset.c: Add libc_hidden_def.

	* include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H.
	(index, rindex): Define as macros for strchr, strrchr.

	* string/envz.c (envz_strip): index -> strchr

	* include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply.
	* sunrpc/rpc_prot.c: Add libc_hidden_def.

	* include/wchar.h: Use libc_hidden_proto for mbrtowc.
	* wcsmbs/mbrtowc.c: Add libc_hidden_weak.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/key_call.c1
-rw-r--r--sunrpc/rpc_prot.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index e41e3fc380..0b09a5a66e 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -233,6 +233,7 @@ key_gendes (des_block *key)
 
   return 0;
 }
+libc_hidden_def (key_gendes)
 
 int
 key_setnet (struct key_netstarg *arg)
diff --git a/sunrpc/rpc_prot.c b/sunrpc/rpc_prot.c
index 59ec5058b6..69b0b6cd9d 100644
--- a/sunrpc/rpc_prot.c
+++ b/sunrpc/rpc_prot.c
@@ -283,3 +283,4 @@ _seterr_reply (struct rpc_msg *msg,
       break;
     }
 }
+libc_hidden_def (_seterr_reply)