[pulseaudio-discuss] Suggested coding style change for functions
Thomas Martitz
kugel at rockbox.org
Thu Sep 26 12:49:25 PDT 2013
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.
More information about the pulseaudio-discuss
mailing list