Skip to content

Commit c5a5acd

Browse files
committed
code review changes
1 parent 34b4066 commit c5a5acd

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ extern void uITRON4_free(void *p) ;
20532053
#if !defined(XMALLOC_USER) && !defined(NO_WOLFSSL_MEMORY) && \
20542054
!defined(WOLFSSL_STATIC_MEMORY)
20552055
/* Per the user manual of embOS https://www.segger.com/downloads/embos/UM01001
2056-
this API has changed with V5. */
2056+
* this API has changed with V5. */
20572057
#if (OS_VERSION >= 50000U)
20582058
#define XMALLOC(s, h, type) ((void)(h), (void)(type), OS_HEAP_malloc((s)))
20592059
#define XFREE(p, h, type) ((void)(h), (void)(type), OS_HEAP_free((p)))

wolfssl/wolfcrypt/types.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,9 @@ typedef struct w64wrapper {
556556
#endif
557557
#define XREALLOC(p, n, h, t) wolfSSL_Realloc((p), (n), (h), (t))
558558
#endif /* WOLFSSL_DEBUG_MEMORY */
559-
#elif defined(WOLFSSL_EMBOS) && !defined(XMALLOC_USER) && !defined(NO_WOLFSSL_MEMORY) && !defined(WOLFSSL_STATIC_MEMORY)
559+
#elif defined(WOLFSSL_EMBOS) && !defined(XMALLOC_USER) \
560+
&& !defined(NO_WOLFSSL_MEMORY) \
561+
&& !defined(WOLFSSL_STATIC_MEMORY)
560562
/* settings.h solve this case already. Avoid redefinition. */
561563
#elif (!defined(FREERTOS) && !defined(FREERTOS_TCP)) || defined(WOLFSSL_TRACK_MEMORY)
562564
#ifdef WOLFSSL_DEBUG_MEMORY

0 commit comments

Comments
 (0)