Hi,
On 19/08/2022 11:50, Arne Schwabe wrote:
Am 18.08.22 um 22:43 schrieb Antonio Quartulli:
yes! This is what we need!
Acked-by: Antonio Quartulli <a...@unstable.cc>
I am out of the loop here. Could you two explain why we need this? I.e.
what is wrong with the current style is and what the plan is to change?
If often struggle to properly format function with the soft limit of 80
without being allowed to put the return type on a separate line. So I am
not sure what the improvement of this change is.
We are not changing the style here.
Basically we have originally started using this approach (when we
discussed the style back with Steffan some years ago):
* prototypes: return type on the same line as the function name (makes
the first line a bit longer, but normally is not a big deal). Should the
line be too long to make the name fit within the 100chars limit we have,
you can still go to a new line, but should really be an exception.
* function definitions: return type on its own line.
Basically it's just a matter of style, not convenience.
Note: this has been like this since a while. Only a few occurrences were
not respecting this style (and Frank is fixing those in 1/2).
Cheers,
Arne
--
Antonio Quartulli
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel