From d844264ad929441ab3268b99a9307648533a6748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 28 Sep 2017 03:14:59 +0200 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 73837e4..52c7797 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,8 +17,8 @@ Function names are composed of a verb followed by a noun. Non-extern functions must be declared as static. ``` -DoThisExtern(); -static doThisNonExtern(); +DoThisExtern(void); +static doThisNonExtern(void); uint8 ExternVariable; uint8 nonExternVariable; ``` @@ -72,7 +72,7 @@ while (condition) { ## 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: - 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