From 1e3d47af570a74119562b488fb0fb97f04a3e7ff Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 26 Aug 2021 16:08:35 -0500 Subject: [PATCH] remove frivolous semicolons at end of several macro definitions. --- wolfssl/wolfcrypt/types.h | 4 ++-- wolfssl/wolfcrypt/wc_port.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index 699a37fb9..f8736290e 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -439,7 +439,7 @@ decouple library dependencies with standard string, memory and so on. #elif defined(WOLFSSL_LINUXKM) /* the requisite linux/slab.h is included in wc_port.h, with incompatible warnings masked out. */ #define XMALLOC(s, h, t) ({(void)(h); (void)(t); kmalloc(s, GFP_KERNEL);}) - #define XFREE(p, h, t) ({void* _xp; (void)(h); _xp = (p); if(_xp) kfree(_xp);}) + #define XFREE(p, h, t) {void* _xp; (void)(h); _xp = (p); if(_xp) kfree(_xp);} #define XREALLOC(p, n, h, t) ({(void)(h); (void)(t); krealloc((p), (n), GFP_KERNEL);}) #elif !defined(MICRIUM_MALLOC) && !defined(EBSNET) \ @@ -495,7 +495,7 @@ decouple library dependencies with standard string, memory and so on. } \ } #define FREE_VAR(VAR_NAME, HEAP) \ - XFREE(VAR_NAME, (HEAP), DYNAMIC_TYPE_WOLF_BIGINT); + XFREE(VAR_NAME, (HEAP), DYNAMIC_TYPE_WOLF_BIGINT) #define FREE_ARRAY(VAR_NAME, VAR_ITEMS, HEAP) \ for (idx##VAR_NAME=0; idx##VAR_NAME #define XFILE struct fs_file* - #define XFOPEN(NAME, MODE) fs_open((char*)NAME); + #define XFOPEN(NAME, MODE) fs_open((char*)NAME) #define XFSEEK(F, O, W) (void)F #define XFTELL(F) (F)->len #define XREWIND(F) (void)F