summaryrefslogtreecommitdiffstats
path: root/crypto/stack
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2007-06-23 18:40:16 +0000
committerBen Laurie <ben@openssl.org>2007-06-23 18:40:16 +0000
commit8dee823e6169ec137ef341d66f57c2f271159eaa (patch)
tree8ae2167481adca4b7e9c9726bffae557792c66ab /crypto/stack
parent5d863367467eac207eaf7980f09e5c05a48d9238 (diff)
Inline function declarations have to be prototypes.
Diffstat (limited to 'crypto/stack')
-rw-r--r--crypto/stack/safestack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h
index 53c1695f2a..a2b0287217 100644
--- a/crypto/stack/safestack.h
+++ b/crypto/stack/safestack.h
@@ -79,7 +79,7 @@ STACK_OF(type) \
OPENSSL_INLINE STACK_OF(type) *sk_##type##_new( \
int (*cmp)(const type * const *, const type *const *)) \
{ return (STACK_OF(type) *)sk_new((int (*)(const char * const *, const char * const *))cmp); } \
-OPENSSL_INLINE STACK_OF(type) *sk_##type##_new_null() \
+OPENSSL_INLINE STACK_OF(type) *sk_##type##_new_null(void) \
{ return (STACK_OF(type) *)sk_new_null(); } \
OPENSSL_INLINE void sk_##type##_free(STACK_OF(type) *sk) \
{ sk_free((STACK *)sk); } \