diff options
Diffstat (limited to 'kernel/Documentation/CodingStyle')
-rw-r--r-- | kernel/Documentation/CodingStyle | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/Documentation/CodingStyle b/kernel/Documentation/CodingStyle index f4b78eafd..c06f817b3 100644 --- a/kernel/Documentation/CodingStyle +++ b/kernel/Documentation/CodingStyle @@ -670,7 +670,7 @@ functions: typeof(x) ret; \ ret = calc_ret(x); \ (ret); \ -)} +}) ret is a common name for a local variable - __foo_ret is less likely to collide with an existing variable. @@ -929,13 +929,11 @@ The C Programming Language, Second Edition by Brian W. Kernighan and Dennis M. Ritchie. Prentice Hall, Inc., 1988. ISBN 0-13-110362-8 (paperback), 0-13-110370-9 (hardback). -URL: http://cm.bell-labs.com/cm/cs/cbook/ The Practice of Programming by Brian W. Kernighan and Rob Pike. Addison-Wesley, Inc., 1999. ISBN 0-201-61586-X. -URL: http://cm.bell-labs.com/cm/cs/tpop/ GNU manuals - where in compliance with K&R and this text - for cpp, gcc, gcc internals and indent, all available from http://www.gnu.org/manual/ |