summaryrefslogtreecommitdiff
path: root/libcrypt/crypt.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-26 10:43:39 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-26 10:43:39 +0000
commit25c3f872df0a5869b4110a3dccb56065ba8972a6 (patch)
tree5e2848e92d883fc6c884600045b5685e86268ff3 /libcrypt/crypt.c
parentbf18261c53466fd2304ec3a58e8deedd4443207c (diff)
Don't try to return stuff from void funcs
Diffstat (limited to 'libcrypt/crypt.c')
-rw-r--r--libcrypt/crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
index 9c41bdaec..84c7678c2 100644
--- a/libcrypt/crypt.c
+++ b/libcrypt/crypt.c
@@ -34,11 +34,11 @@ extern char * crypt(const char *key, const char *salt)
extern void setkey(const char *key)
{
- return setkey_r(key, &__crypt_data);
+ setkey_r(key, &__crypt_data);
}
extern void encrypt(char *block, int edflag)
{
- return encrypt_r(block, edflag, &__crypt_data);
+ encrypt_r(block, edflag, &__crypt_data);
}