Suggested coding style change for functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 23.09.2013 10:37, schrieb Tanu Kaskinen:
> Quoting the CODING_STYLE file of systemd:
>
>      - Try to use this:
>
>            void foo() {
>            }
>
>        instead of this:
>
>            void foo()
>            {
>            }
>
>        But it's OK if you don't.
>


Perhaps we could do it the other way for transitioning to the new ({ on 
new line) style. I.e. don't change the code base now, and accept the old 
style from contributes. The new style is naturally also accepted and 
maintainers change convert the code base gradually as they modify functions.

OTOH: This would result in a long phase of brace-style inconsistency

Best regards.


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux