CM3: allow to declare ISR functions as static.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Apr 2010 13:13:42 +0000 (13:13 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 13 Apr 2010 13:13:42 +0000 (13:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3424 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/irq.h

index e27a77fe1021f215e2e44d11c2419b5fecfa26fb..c3824556176b647068a5e6913b19c122b102e3a5 100644 (file)
        #if CONFIG_KERN_PREEMPT
 
                #define DECLARE_ISR_CONTEXT_SWITCH(func)                \
+               void func(void);                                        \
                INLINE void __isr_##func(void);                         \
                void func(void)                                         \
                {                                                       \