From b78bdbe2e4aec232a7f48cb61a9b1d0dcee046b1 Mon Sep 17 00:00:00 2001 From: arighi Date: Tue, 13 Apr 2010 13:13:42 +0000 Subject: [PATCH] CM3: allow to declare ISR functions as static. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3424 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/irq.h | 1 + 1 file changed, 1 insertion(+) 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) \ { \ -- 2.25.1