[Spice-commits] docs/spice_style.txt

Frediano Ziglio fziglio at kemper.freedesktop.org
Tue Oct 11 09:28:31 UTC 2016


 docs/spice_style.txt |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 1e6bdba552e50b37833a80c34bfcb110a56b0aeb
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Oct 11 10:27:28 2016 +0100

    style: Specify function definition indentation
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/docs/spice_style.txt b/docs/spice_style.txt
index 026a354..cd874df 100644
--- a/docs/spice_style.txt
+++ b/docs/spice_style.txt
@@ -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
 ---------------------


More information about the Spice-commits mailing list