From: arighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Wed, 17 Mar 2010 11:53:09 +0000 (+0000)
Subject: Do not break old declarations of PROC_DEFINE_STACK().
X-Git-Tag: 2.4.0~43
X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=2941141c8a74bbb22a87743ba9b56c5d2dfb17d8;p=bertos.git

Do not break old declarations of PROC_DEFINE_STACK().

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3221 38d2e660-2303-0410-9eaa-f027e97ec537
---

diff --git a/bertos/kern/proc.h b/bertos/kern/proc.h
index 8570d801..c78735e8 100644
--- a/bertos/kern/proc.h
+++ b/bertos/kern/proc.h
@@ -363,7 +363,7 @@ INLINE struct Process *proc_current(void)
  */
 #define PROC_DEFINE_STACK(name, size) \
 	cpu_stack_t name[((size) + sizeof(cpu_stack_t) - 1) / sizeof(cpu_stack_t)]; \
-	STATIC_ASSERT((size) >= KERN_MINSTACKSIZE)
+	STATIC_ASSERT((size) >= KERN_MINSTACKSIZE);
 
 /* Memory fill codes to help debugging */
 #if CONFIG_KERN_MONITOR