Explicitly specify the void type keyword for all void functions/methods. (#1042)

This commit is contained in:
Jonathan Hui
2016-12-05 21:38:31 -08:00
committed by GitHub
parent f435735582
commit cb44b1102f
23 changed files with 180 additions and 180 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ char *diagProcessCmd(int argc, char *argv[]);
char *diagProcessCmdLine(char *string);
bool isDiagEnabled();
bool isDiagEnabled(void);
#ifdef __cplusplus
} // extern "C"
+1 -1
View File
@@ -128,7 +128,7 @@ OTAPI const char *OTCALL otGetVersionString(void);
* @sa otApiFinalize
*
*/
OTAPI otApiInstance *OTCALL otApiInit();
OTAPI otApiInstance *OTCALL otApiInit(void);
/**
* This function uninitializes the OpenThread library.