From: arighi Date: Tue, 13 Apr 2010 13:13:42 +0000 (+0000) Subject: CM3: allow to declare ISR functions as static. X-Git-Tag: 2.5.0~484 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b78bdbe2e4aec232a7f48cb61a9b1d0dcee046b1;p=bertos.git CM3: allow to declare ISR functions as static. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3424 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/irq.h b/bertos/cpu/irq.h index e27a77fe..c3824556 100644 --- a/bertos/cpu/irq.h +++ b/bertos/cpu/irq.h @@ -151,6 +151,7 @@ #if CONFIG_KERN_PREEMPT #define DECLARE_ISR_CONTEXT_SWITCH(func) \ + void func(void); \ INLINE void __isr_##func(void); \ void func(void) \ { \