Update CONTRIBUTING.md

This commit is contained in:
László Monda
2017-09-28 03:14:59 +02:00
committed by GitHub
parent 751810ec4c
commit d844264ad9
+4 -4
View File
@@ -17,8 +17,8 @@ Function names are composed of a verb followed by a noun.
Non-extern functions must be declared as static. Non-extern functions must be declared as static.
``` ```
DoThisExtern(); DoThisExtern(void);
static doThisNonExtern(); static doThisNonExtern(void);
uint8 ExternVariable; uint8 ExternVariable;
uint8 nonExternVariable; uint8 nonExternVariable;
``` ```
@@ -72,7 +72,7 @@ while (condition) {
## Function declaration ## Function declaration
``` ```
void doThis() void doThis(void)
{ {
... ...
} }
@@ -117,7 +117,7 @@ Header files are composed of sections. The order of sections is fixed. Every hea
// Functions: // Functions:
extern void LedDriver_WriteBuffer(uint8_t i2cAddress, uint8_t buffer[], uint8_t size); void LedDriver_WriteBuffer(uint8_t i2cAddress, uint8_t buffer[], uint8_t size);
... ...
#endif #endif