summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-05-11 10:39:39 +0100
committerFrediano Ziglio <fziglio@redhat.com>2016-05-11 12:54:06 +0100
commit0149b3794666408d0f3a38c78fee5622b69ec046 (patch)
treeb17d6d0a110b96ee8ed62f76d8a2148cd95b501f
parent04c238e09e13a2557a03f41de5236fe6a6dc17d0 (diff)
style: remove outdated void argument
For C is better to have void instead of arguments as otherwise K&R rules apply. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
-rw-r--r--docs/spice_style.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/spice_style.txt b/docs/spice_style.txt
index 683c53cb..90d7dc5a 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
---------------