lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 26 Mar 2008 09:30:46 -0700
From:	Joe Perches <joe@...ches.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Al Viro <viro@...IV.linux.org.uk>, J?rn Engel <joern@...fs.org>,
	David Miller <davem@...emloft.net>, jirislaby@...il.com,
	tglx@...utronix.de, linux-kernel@...r.kernel.org,
	Andy Whitcroft <apw@...dowen.org>
Subject: Re: [patch] bkl2mtd: cleanup

On Wed, 2008-03-26 at 12:10 +0100, Ingo Molnar wrote:
> not a "simple one-line function prototype" anymore,
>  so i use the same template for everything:
> 
>  type
>  function_name(vars ...
>                more vars ...)
>  {

It seems the most common linux style keeps type and function
on the same line where possible and arguments on subsequent
lines when necessary.

type function_name(args...)

type function_name(args_to_col80,
		   more_args...)

Perhaps that should be your default template.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ