diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-05 22:11:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-05 22:11:14 +0000 |
commit | 8784cc18e1a30b445f5554237378001d8e8be11c (patch) | |
tree | c0d11d23707ef473c6c51b27a372d8d38617f142 /sunrpc | |
parent | 917f1c58fa69aac73e4593e54c4dca10034b43b5 (diff) | |
download | glibc-8784cc18e1a30b445f5554237378001d8e8be11c.tar.gz |
2002-08-05 Jakub Jelinek <jakub@redhat.com>
* include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll,
wcspbrk): Add libc_hidden_proto.
* time/strftime.c (my_strftime): Add libc_hidden_def.
(strftime): Remove libc_hidden_def.
* wcsmbs/wcschr.c (wcschr): Add libc_hidden_def.
* wcsmbs/wcspbrk.c (wcspbrk): Likewise.
* wcsmbs/wcsspn.c (wcsspn): Likewise.
* wcsmbs/wcscmp.c (wcscmp): Likewise.
* wcsmbs/wcrtomb.c (wcrtomb): Add libc_hidden_weak.
* wcsmbs/wcscoll.c (wcscoll): Likewise.
* include/rpc/rpc.h (__rpc_thread_svc_max_pollfd,
__rpc_thread_svc_pollfd, __rpc_thread_svc_fdset,
__rpc_thread_createerr): Add libc_hidden_proto.
* sunrpc/rpc_thread.c (__rpc_thread_svc_max_pollfd,
__rpc_thread_svc_pollfd, __rpc_thread_svc_fdset,
__rpc_thread_createerr): Add libc_hidden_def.
* include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror,
clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto.
* sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror,
clnt_perror, clnt_sperror): Add libc_hidden_def.
* sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise.
* include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add
libc_hidden_proto.
* sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto.
* sunrpc/des_soft.c (des_setparity): Likewise.
* include/rpc/auth.h (key_encryptsession_pk, key_decryptsession_pk):
Add libc_hidden_proto.
* sunrpc/key_call.c (key_encryptsession_pk, key_decryptsession_pk):
Add libc_hidden_def.
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/clnt_perr.c | 4 | ||||
-rw-r--r-- | sunrpc/des_crypt.c | 3 | ||||
-rw-r--r-- | sunrpc/des_soft.c | 1 | ||||
-rw-r--r-- | sunrpc/key_call.c | 2 | ||||
-rw-r--r-- | sunrpc/rpc_dtable.c | 1 | ||||
-rw-r--r-- | sunrpc/rpc_thread.c | 5 |
6 files changed, 15 insertions, 1 deletions
diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c index c20853fc71..ad96e4a0fe 100644 --- a/sunrpc/clnt_perr.c +++ b/sunrpc/clnt_perr.c @@ -150,6 +150,7 @@ clnt_sperror (CLIENT * rpch, const char *msg) *++str = '\0'; return (strstart); } +libc_hidden_def (clnt_sperror) void clnt_perror (CLIENT * rpch, const char *msg) @@ -161,6 +162,7 @@ clnt_perror (CLIENT * rpch, const char *msg) #endif (void) fputs (clnt_sperror (rpch, msg), stderr); } +libc_hidden_def (clnt_perror) struct rpc_errtab @@ -282,6 +284,7 @@ clnt_sperrno (enum clnt_stat stat) } return _("RPC: (unknown error code)"); } +libc_hidden_def (clnt_sperrno) void clnt_perrno (enum clnt_stat num) @@ -329,6 +332,7 @@ clnt_spcreateerror (const char *msg) *++cp = '\0'; return str; } +libc_hidden_def (clnt_spcreateerror) void clnt_pcreateerror (const char *msg) diff --git a/sunrpc/des_crypt.c b/sunrpc/des_crypt.c index 7a4bc5d6cf..87389b47ce 100644 --- a/sunrpc/des_crypt.c +++ b/sunrpc/des_crypt.c @@ -105,7 +105,7 @@ cbc_crypt (char *key, char *buf, unsigned int len, unsigned int mode, COPY8 (dp.des_ivec, ivec); return err; } - +libc_hidden_def (cbc_crypt) /* * ECB mode encryption @@ -118,3 +118,4 @@ ecb_crypt (char *key, char *buf, unsigned int len, unsigned int mode) dp.des_mode = ECB; return common_crypt (key, buf, len, mode, &dp); } +libc_hidden_def (ecb_crypt) diff --git a/sunrpc/des_soft.c b/sunrpc/des_soft.c index a7940b6978..521d97c796 100644 --- a/sunrpc/des_soft.c +++ b/sunrpc/des_soft.c @@ -68,3 +68,4 @@ des_setparity (char *p) p++; } } +libc_hidden_def (des_setparity) diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index 93117fd03f..e41e3fc380 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -177,6 +177,7 @@ key_encryptsession_pk (char *remotename, netobj *remotekey, *deskey = res.cryptkeyres_u.deskey; return 0; } +libc_hidden_def (key_encryptsession_pk) int key_decryptsession_pk (char *remotename, netobj *remotekey, @@ -201,6 +202,7 @@ key_decryptsession_pk (char *remotename, netobj *remotekey, *deskey = res.cryptkeyres_u.deskey; return 0; } +libc_hidden_def (key_decryptsession_pk) int key_gendes (des_block *key) diff --git a/sunrpc/rpc_dtable.c b/sunrpc/rpc_dtable.c index b21f0aed37..fbbb3c1d5c 100644 --- a/sunrpc/rpc_dtable.c +++ b/sunrpc/rpc_dtable.c @@ -48,3 +48,4 @@ _rpc_dtablesize (void) return size; } +libc_hidden_def (_rpc_dtablesize) diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c index 312ca8c573..df48c31a8f 100644 --- a/sunrpc/rpc_thread.c +++ b/sunrpc/rpc_thread.c @@ -85,6 +85,7 @@ __rpc_thread_svc_fdset (void) return &svc_fdset; return &tvp->svc_fdset_s; } +libc_hidden_def (__rpc_thread_svc_fdset) struct rpc_createerr * __rpc_thread_createerr (void) @@ -96,6 +97,7 @@ __rpc_thread_createerr (void) return &rpc_createerr; return &tvp->rpc_createerr_s; } +libc_hidden_def (__rpc_thread_createerr) struct pollfd ** __rpc_thread_svc_pollfd (void) @@ -107,6 +109,7 @@ __rpc_thread_svc_pollfd (void) return &svc_pollfd; return &tvp->svc_pollfd_s; } +libc_hidden_def (__rpc_thread_svc_pollfd) int * __rpc_thread_svc_max_pollfd (void) @@ -118,4 +121,6 @@ __rpc_thread_svc_max_pollfd (void) return &svc_max_pollfd; return &tvp->svc_max_pollfd_s; } +libc_hidden_def (__rpc_thread_svc_max_pollfd) + #endif /* _RPC_THREAD_SAFE_ */ |