Re: indentation of c code



> 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]