Update CONTRIBUTING.md
This commit is contained in:
+4
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user