From: Ben Laurie Date: Sat, 23 Jun 2007 18:40:16 +0000 (+0000) Subject: Inline function declarations have to be prototypes. X-Git-Tag: OpenSSL_0_9_8k^2~785 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8dee823e6169ec137ef341d66f57c2f271159eaa;p=oweals%2Fopenssl.git Inline function declarations have to be prototypes. --- 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); } \