diff options
-rw-r--r-- | docs/contributing.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index b125d1af..fe87ac29 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -65,6 +65,16 @@ Don't name parameters: // Bad long f(long x); +...unless they're inside a struct: + +.. code-block:: c + + struct my_struct { + char *name; + int number; + ...; + }; + Don't include stray ``void`` parameters: .. code-block:: c |