mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Inline function declarations have to be prototypes.
This commit is contained in:
parent
5d86336746
commit
8dee823e61
@ -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); } \
|
||||
|
Loading…
x
Reference in New Issue
Block a user