mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 19:59:54 +01:00
configure.ac: remove implied --disable-examples when --disable-inline; tests/api.c: always include wolfcrypt/src/misc.c; wolfcrypt/src/misc.c: use WC_MISC_STATIC to designate staticness of the misc functions; wolfssl/wolfcrypt/misc.h: define WC_MISC_STATIC to empty or static depending on #ifdef NO_INLINE or not (respectively); wolfssl/wolfcrypt/types.h: #ifdef NO_INLINE, #define WC_INLINE WC_MAYBE_UNUSED, and move the definitions of WARN_UNUSED_RESULT and WC_MAYBE_UNUSED above the definition of WC_INLINE for clarity; wolfssl/wolfcrypt/mem_track.h: always declare TrackMalloc() et al static (no functional change, because the state and callback bindings were and remain unconditionally static, but previously #ifdef NO_INLINE the functions were globals, leading to multiple definitions.