Re: Question about style when converting from K&R to ANSI C.

Alan Cox (alan@lxorguk.ukuu.org.uk)
01 Jun 2003 14:14:03 +0100


On Sul, 2003-06-01 at 07:43, Zwane Mwaikambo wrote:
> --- linux-2.5/scripts/Lindent 31 May 2003 18:57:19 -0000 1.16
> +++ linux-2.5/scripts/Lindent 1 Jun 2003 05:46:02 -0000
> @@ -1,2 +1,2 @@
> #!/bin/sh
> -indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@"
> +indent -kr -i8 -ts8 -sob -l80 -ss -bs "$@"

Take out the -l80 as well, it makes indent do horrific things to code,
and mangled 80 column wrapping is not the normal Linux style

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