Hi Dario, Max and others,
On Mon, Apr 08, 2013 at 04:52:34PM +0200, Dario Lombardo wrote:
- TAB vs SPACE indentation !
Doh! Could you remind me - what was the magic tool which takes care of indentation for kernel devs? Osmocom uses linux kernel code style, is it?
indent? But it has A LOT of options. Osmocom uses linux kernel coding style, right?
"Lindent" which is part of every linux kenrel source code tree.
The easiest way is to always respect the coding style of the respective FOSS project while you make the modifications. Rationale: There is no guarantee that running the file through automatic tools 'lindent' will not create whitespace-changes outside your actual changes.
Regards, Harald