Update.
2000-09-22 Jakub Jelinek <jakub@redhat.com> * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. (crypt_r, setkey_r, encrypt_r): Likewise.
This commit is contained in:
parent
646b69707e
commit
cea9aac060
|
@ -1,3 +1,8 @@
|
||||||
|
2000-09-22 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
|
||||||
|
(crypt_r, setkey_r, encrypt_r): Likewise.
|
||||||
|
|
||||||
2000-09-22 Andreas Jaeger <aj@suse.de>
|
2000-09-22 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* locale/programs/repertoire.c (repertoiremap_hash): Don't specify
|
* locale/programs/repertoire.c (repertoiremap_hash): Don't specify
|
||||||
|
|
|
@ -30,14 +30,14 @@
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Encrypt at most 8 characters from KEY using salt to perturb DES. */
|
/* Encrypt at most 8 characters from KEY using salt to perturb DES. */
|
||||||
extern char *crypt (__const char *__key, __const char *__salt);
|
extern char *crypt (__const char *__key, __const char *__salt) __THROW;
|
||||||
|
|
||||||
/* Setup DES tables according KEY. */
|
/* Setup DES tables according KEY. */
|
||||||
extern void setkey (__const char *__key);
|
extern void setkey (__const char *__key) __THROW;
|
||||||
|
|
||||||
/* Encrypt data in BLOCK in place if EDFLAG is zero; otherwise decrypt
|
/* Encrypt data in BLOCK in place if EDFLAG is zero; otherwise decrypt
|
||||||
block in place. */
|
block in place. */
|
||||||
extern void encrypt (char *__block, int __edflag);
|
extern void encrypt (char *__block, int __edflag) __THROW;
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
/* Reentrant versions of the functions above. The additional argument
|
/* Reentrant versions of the functions above. The additional argument
|
||||||
|
@ -57,13 +57,13 @@ struct crypt_data
|
||||||
};
|
};
|
||||||
|
|
||||||
extern char *crypt_r (__const char *__key, __const char *__salt,
|
extern char *crypt_r (__const char *__key, __const char *__salt,
|
||||||
struct crypt_data * __restrict __data);
|
struct crypt_data * __restrict __data) __THROW;
|
||||||
|
|
||||||
extern void setkey_r (__const char *__key,
|
extern void setkey_r (__const char *__key,
|
||||||
struct crypt_data * __restrict __data);
|
struct crypt_data * __restrict __data) __THROW;
|
||||||
|
|
||||||
extern void encrypt_r (char *__block, int __edflag,
|
extern void encrypt_r (char *__block, int __edflag,
|
||||||
struct crypt_data * __restrict __data);
|
struct crypt_data * __restrict __data) __THROW;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
Loading…
Reference in New Issue