[Spice-devel] [PATCH 5/6] style: remove outdated void argument

Frediano Ziglio fziglio at redhat.com
Wed May 11 09:43:03 UTC 2016


For C is better to have void instead of arguments as otherwise
K&R rules apply.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 docs/spice_style.txt | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/docs/spice_style.txt b/docs/spice_style.txt
index 683c53c..90d7dc5 100644
--- a/docs/spice_style.txt
+++ b/docs/spice_style.txt
@@ -87,11 +87,6 @@ Defining Constant values
 
 Use defines for constant values for improving readability and ease of changes. Alternatively, use global `const` variables.
 
-void argument
--------------
-
-Don't add explicitly void argument in functions without arguments. (i.e., void function_name() is OK)
-
 Short functions
 ---------------
 
-- 
2.7.4



More information about the Spice-devel mailing list