From e324184c0509cc0db168ce29546e1b52800a79c6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 13 Aug 2007 10:36:25 +0000 Subject: s/#ifdef CONFIG_/#if ENABLE_/g --- docs/style-guide.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/style-guide.txt b/docs/style-guide.txt index 381275a..7560d69 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) -- cgit v1.1