diff options
author | Andreas Jaeger <aj@suse.de> | 2000-09-22 18:03:53 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-09-22 18:03:53 +0000 |
commit | cea9aac06054a899d606114b799694a969b96840 (patch) | |
tree | cdfdfdeb1f595931f43f9af836ad6f3a745a40c1 /crypt/crypt.h | |
parent | 646b69707ed3891d495539bb4d377649acd97c90 (diff) | |
download | glibc-cea9aac06054a899d606114b799694a969b96840.tar.gz glibc-cea9aac06054a899d606114b799694a969b96840.tar.xz glibc-cea9aac06054a899d606114b799694a969b96840.zip |
Update.
2000-09-22 Jakub Jelinek <jakub@redhat.com> * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. (crypt_r, setkey_r, encrypt_r): Likewise.
Diffstat (limited to 'crypt/crypt.h')
-rw-r--r-- | crypt/crypt.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypt/crypt.h b/crypt/crypt.h index 7018cb16ce..54682e8904 100644 --- a/crypt/crypt.h +++ b/crypt/crypt.h @@ -30,14 +30,14 @@ __BEGIN_DECLS /* 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. */ -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 block in place. */ -extern void encrypt (char *__block, int __edflag); +extern void encrypt (char *__block, int __edflag) __THROW; #ifdef __USE_GNU /* 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, - struct crypt_data * __restrict __data); + struct crypt_data * __restrict __data) __THROW; 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, - struct crypt_data * __restrict __data); + struct crypt_data * __restrict __data) __THROW; #endif __END_DECLS |