mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-30 05:40:45 +00:00
apps/netutils/cJSON: Eliminate some warnings
This commit is contained in:
parent
1d8ef23b88
commit
f8d425f0ad
1 changed files with 6 additions and 6 deletions
|
|
@ -154,18 +154,18 @@ cJSON *cJSON_GetObjectItem(cJSON *object, const char *string);
|
|||
* Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds.
|
||||
*/
|
||||
|
||||
const char *cJSON_GetErrorPtr();
|
||||
const char *cJSON_GetErrorPtr(void);
|
||||
|
||||
/* These calls create a cJSON item of the appropriate type. */
|
||||
|
||||
cJSON *cJSON_CreateNull();
|
||||
cJSON *cJSON_CreateTrue();
|
||||
cJSON *cJSON_CreateFalse();
|
||||
cJSON *cJSON_CreateNull(void);
|
||||
cJSON *cJSON_CreateTrue(void);
|
||||
cJSON *cJSON_CreateFalse(void);
|
||||
cJSON *cJSON_CreateBool(int b);
|
||||
cJSON *cJSON_CreateNumber(double num);
|
||||
cJSON *cJSON_CreateString(const char *string);
|
||||
cJSON *cJSON_CreateArray();
|
||||
cJSON *cJSON_CreateObject();
|
||||
cJSON *cJSON_CreateArray(void);
|
||||
cJSON *cJSON_CreateObject(void);
|
||||
|
||||
/* These utilities create an Array of count items. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue