aboutsummaryrefslogtreecommitdiff
path: root/docs/style-guide.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/style-guide.txt')
-rw-r--r--docs/style-guide.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/style-guide.txt b/docs/style-guide.txt
index 381275a1d..7560d6986 100644
--- a/docs/style-guide.txt
+++ b/docs/style-guide.txt
@@ -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)