For C is better to have void instead of arguments as otherwise K&R rules apply. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- 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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel