Use C-style comments instead of C++-style comments
diff --git a/docs/development/submitting-patches.rst b/docs/development/submitting-patches.rst
index b7f4328..3eea1dd 100644
--- a/docs/development/submitting-patches.rst
+++ b/docs/development/submitting-patches.rst
@@ -82,9 +82,9 @@
.. code-block:: c
- // Good
+ /* Good */
long f(long);
- // Bad
+ /* Bad */
long f(long x);
...unless they're inside a struct:
@@ -101,16 +101,16 @@
.. code-block:: c
- // Good
+ /* Good */
long f(void);
- // Bad
+ /* Bad */
long f();
Wrap lines at 80 characters like so:
.. code-block:: c
- // Pretend this went to 80 characters
+ /* Pretend this went to 80 characters */
long f(long, long,
int *)
@@ -118,9 +118,9 @@
.. code-block:: c
- // Good
+ /* Good */
long f(int, char *)
- // Bad
+ /* Bad */
long f(int,char *)
Values set by ``#define`` should be assigned the appropriate type. If you see