Support default __stdcall calling convention on tests as well

This commit is contained in:
Zach Hindes
2018-09-12 15:32:30 -05:00
parent ad2cb5b7ea
commit f25b8448e4
18 changed files with 21 additions and 19 deletions

View File

@@ -410,7 +410,7 @@ static void cjson_functions_shouldnt_crash_with_null_pointers(void)
cJSON_Delete(item);
}
static void *failing_realloc(void *pointer, size_t size)
static void * CJSON_CDECL failing_realloc(void *pointer, size_t size)
{
(void)size;
(void)pointer;
@@ -527,7 +527,7 @@ static void cjson_add_item_to_object_should_not_use_after_free_when_string_is_al
cJSON_Delete(object);
}
int main(void)
int CJSON_CDECL main(void)
{
UNITY_BEGIN();