mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #16167 from kfessel/patch-2
doc/Coding_Convention: clarify: void return is allowed
This commit is contained in:
commit
5e2660f797
@ -97,7 +97,7 @@
|
|||||||
|
|
||||||
## Return values
|
## Return values
|
||||||
|
|
||||||
* Any function must return one of the following values:
|
* Every function must return one of the following values or none (void):
|
||||||
* logical value (zero or not zero)
|
* logical value (zero or not zero)
|
||||||
* an error code (given as a negative number or zero) or a positive status
|
* an error code (given as a negative number or zero) or a positive status
|
||||||
value
|
value
|
||||||
|
Loading…
Reference in New Issue
Block a user