CM3: allow to declare ISR functions as static.
[bertos.git] / 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)                                         \
                {                                                       \