mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-01 21:43:48 +00:00
style: Specify function definition indentation
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
5193360594
commit
1e6bdba552
@ -198,7 +198,14 @@ void function(type1 arg1, type2 arg2,
|
||||
type3 arg3)
|
||||
----
|
||||
+
|
||||
* New line is acceptable only in arguments list
|
||||
* New line is acceptable in arguments list and before function name, like
|
||||
+
|
||||
[source,c]
|
||||
----
|
||||
void
|
||||
function(type1 arg1, type2 arg2,
|
||||
type3 arg3)
|
||||
----
|
||||
|
||||
Branching indentation
|
||||
---------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user