s/#ifdef CONFIG_/#if ENABLE_/g
This commit is contained in:
1 parent
5f1b149d54
commit
e324184c05
22 files changed
+60
-56
No files matched your search
@@ -377,13 +377,13 @@ used in the code.
|
||||
|
||||
(in .h header file)
|
||||
|
||||
#ifdef CONFIG_FEATURE_FUNKY
|
||||
static inline void maybe_do_funky_stuff (int bar, int baz)
|
||||
#if ENABLE_FEATURE_FUNKY
|
||||
static inline void maybe_do_funky_stuff(int bar, int baz)
|
||||
{
|
||||
/* lotsa code in here */
|
||||
}
|
||||
#else
|
||||
static inline void maybe_do_funky_stuff (int bar, int baz) {}
|
||||
static inline void maybe_do_funky_stuff(int bar, int baz) {}
|
||||
#endif
|
||||
|
||||
(in the .c source file)
|
||||
|
||||
Reference in new issue
Block a user