[Spice-devel] [PATCH spice-server] style: Specify function definition indentation

Frediano Ziglio fziglio at redhat.com
Mon Oct 10 18:27:55 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 docs/spice_style.txt | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

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
 ---------------------
-- 
2.7.4



More information about the Spice-devel mailing list