Coccinelle release 0.2.5-rc8
[bpt/coccinelle.git] / tests / ifdef3.cocci
1 @ Exemple3 @ @@
2
3 #include <asm/io.h>
4
5 + #ifdef CONFIG_NKERNEL
6 + #include <foo.h>
7 + #define CONFIG_NKERNEL_NO_SHARED_IRQ // use local (native) mask/unmask
8 + #undef CONFIG_NKERNEL_DEBUG_IRQ
9 + #endif
10
11 + static inline void nop(void) { int i; }