You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/05/20 13:13:27 UTC

[incubator-nuttx] branch master updated: kmalloc.h: Remove extra semicolons

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new de27cfeec7 kmalloc.h: Remove extra semicolons
de27cfeec7 is described below

commit de27cfeec7c21b2145d92bf27b387d6727c1217c
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri May 20 20:41:29 2022 +0900

    kmalloc.h: Remove extra semicolons
---
 include/nuttx/kmalloc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/nuttx/kmalloc.h b/include/nuttx/kmalloc.h
index 334b2186f3..8aa134c228 100644
--- a/include/nuttx/kmalloc.h
+++ b/include/nuttx/kmalloc.h
@@ -71,7 +71,7 @@ extern "C"
 #define kumm_initialize(h,s)     umm_initialize(h,s)
 #define kumm_addregion(h,s)      umm_addregion(h,s)
 
-#define kumm_calloc(n,s)         calloc(n,s);
+#define kumm_calloc(n,s)         calloc(n,s)
 #define kumm_malloc(s)           malloc(s)
 #define kumm_malloc_size(p)      malloc_size(p)
 #define kumm_zalloc(s)           zalloc(s)
@@ -91,7 +91,7 @@ extern "C"
 #  define kmm_initialize(h,s)    /* Initialization done by kumm_initialize */
 #  define kmm_addregion(h,s)     umm_addregion(h,s)
 
-#  define kmm_calloc(n,s)        calloc(n,s);
+#  define kmm_calloc(n,s)        calloc(n,s)
 #  define kmm_malloc(s)          malloc(s)
 #  define kmm_malloc_size(p)     malloc_size(p)
 #  define kmm_zalloc(s)          zalloc(s)