mirror of
https://github.com/espressif/openthread.git
synced 2026-08-24 19:29:52 +00:00
Explicitly specify the void type keyword for all void functions/methods. (#1042)
This commit is contained in:
@@ -47,7 +47,7 @@ char *diagProcessCmd(int argc, char *argv[]);
|
||||
|
||||
char *diagProcessCmdLine(char *string);
|
||||
|
||||
bool isDiagEnabled();
|
||||
bool isDiagEnabled(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user