summary refs log tree commit diff
path: root/sunrpc/des_crypt.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-05 22:11:14 +0000
committerRoland McGrath <roland@gnu.org>2002-08-05 22:11:14 +0000
commit8784cc18e1a30b445f5554237378001d8e8be11c (patch)
treec0d11d23707ef473c6c51b27a372d8d38617f142 /sunrpc/des_crypt.c
parent917f1c58fa69aac73e4593e54c4dca10034b43b5 (diff)
downloadglibc-8784cc18e1a30b445f5554237378001d8e8be11c.tar.gz
glibc-8784cc18e1a30b445f5554237378001d8e8be11c.tar.xz
glibc-8784cc18e1a30b445f5554237378001d8e8be11c.zip
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/des_crypt.c')
-rw-r--r--sunrpc/des_crypt.c3
1 files changed, 2 insertions, 1 deletions
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)