Re: indentation of c code
- From: Alan Cox <alan lxorguk ukuu org uk>
- To: Kjartan Maraas <kmaraas broadpark no>
- Cc: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: indentation of c code
- Date: Tue, 19 Aug 2008 23:40:36 +0100
> http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html
>
> So, basically GNOME was supports to be using the linux kernel coding
> style to begin with, but that has probably been watered out by now.
For the kernel coding style its
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 -il0
(which is why its a script scripts/Lindent in the kernel distribution)
Alan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]