diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
commit | c1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch) | |
tree | 7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /sunrpc/rpc/auth_des.h | |
parent | a4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff) | |
download | glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.bz2 glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip |
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'sunrpc/rpc/auth_des.h')
-rw-r--r-- | sunrpc/rpc/auth_des.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sunrpc/rpc/auth_des.h b/sunrpc/rpc/auth_des.h index b94bafb67b..198b299e72 100644 --- a/sunrpc/rpc/auth_des.h +++ b/sunrpc/rpc/auth_des.h @@ -86,26 +86,25 @@ struct authdes_verf #define adv_nickname adv_int_u /* Map a des credential into a unix cred. */ -extern int authdes_getucred __P ((__const struct authdes_cred * __adc, - uid_t * __uid, gid_t * __gid, - short *__grouplen, gid_t * __groups)); +extern int authdes_getucred (__const struct authdes_cred * __adc, + uid_t * __uid, gid_t * __gid, + short *__grouplen, gid_t * __groups) __THROW; /* Get the public key for NAME and place it in KEY. NAME can only be up to MAXNETNAMELEN bytes long and the destination buffer KEY should have HEXKEYBYTES + 1 bytes long to fit all characters from the key. */ -extern int getpublickey __P ((__const char *__name, char *__key)); +extern int getpublickey (__const char *__name, char *__key) __THROW; /* Get the secret key for NAME and place it in KEY. PASSWD is used to decrypt the encrypted key stored in the database. NAME can only be up to MAXNETNAMELEN bytes long and the destination buffer KEY should have HEXKEYBYTES + 1 bytes long to fit all characters from the key. */ -extern int getsecretkey __P ((__const char *__name, char *__key, - __const char *__passwd)); +extern int getsecretkey (__const char *__name, char *__key, + __const char *__passwd) __THROW; -extern int rtime __P ((struct sockaddr_in *__addrp, - struct rpc_timeval *__timep, - struct rpc_timeval *__timeout)); +extern int rtime (struct sockaddr_in *__addrp, struct rpc_timeval *__timep, + struct rpc_timeval *__timeout) __THROW; __END_DECLS |