diff options
author | Geoff Thorpe <geoff@openssl.org> | 2001-01-09 16:59:56 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2001-01-09 16:59:56 +0000 |
commit | 04e53c273fc1a5352dcbec6c575a20c6c7e9c869 (patch) | |
tree | 01b81328ba3cf6c3850ddf0c0757a11d482caf7c /crypto | |
parent | 599c03530ae1b63df396d35b9227d239d451e8fd (diff) | |
download | openssl-04e53c273fc1a5352dcbec6c575a20c6c7e9c869.tar.gz |
oops, void functions shouldn't try and return a value. Strangely, gcc
didn't even give a warning for this yet HPUX cc considered it an error.
Reported by Lutz(@openssl.org).
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/lhash/lhash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/lhash/lhash.h b/crypto/lhash/lhash.h index a6048a4b7d..ddd8e12d05 100644 --- a/crypto/lhash/lhash.h +++ b/crypto/lhash/lhash.h @@ -121,7 +121,7 @@ typedef void (*LHASH_DOALL_ARG_FN_TYPE)(const void *, const void *); #define IMPLEMENT_LHASH_DOALL_FN(f_name,o_type) \ void f_name##_LHASH_DOALL(const void *arg) { \ o_type a = (o_type)arg; \ - return f_name(a); } + f_name(a); } #define LHASH_DOALL_FN(f_name) f_name##_LHASH_DOALL /* Fourth: "doall_arg" functions */ @@ -131,7 +131,7 @@ typedef void (*LHASH_DOALL_ARG_FN_TYPE)(const void *, const void *); void f_name##_LHASH_DOALL_ARG(const void *arg1, const void *arg2) { \ o_type a = (o_type)arg1; \ a_type b = (a_type)arg2; \ - return f_name(a,b); } + f_name(a,b); } #define LHASH_DOALL_ARG_FN(f_name) f_name##_LHASH_DOALL_ARG typedef struct lhash_st |