[lkml]   [2006]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH/RFC] CodingStyle updates
On Thu, Dec 07, 2006 at 12:48:38AM -0800, Randy Dunlap wrote:


> +but no space after unary operators:
> + sizeof ++ -- & * + - ~ ! defined

Uhm, that doesn't compute... If you don't put a space after sizeof,
the program won't compile.

int c;
printf("%d", sizeofc);

Options are:

sizeof c


sizeof (c)

If you take sizeof the type rather than the variable, the options are



sizeof (int)


Regards: David Weinehall
/) David Weinehall <> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) (/ Full colour fire (/
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-12-15 00:03    [W:0.082 / U:6.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site