mirror of
https://github.com/json-c/json-c.git
synced 2026-03-27 00:49:07 +08:00
clang-format the files
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
#include <json.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
const char *data1 = reinterpret_cast<const char *>(data);
|
||||
json_tokener *tok = json_tokener_new();
|
||||
json_object *obj = json_tokener_parse_ex(tok, data1, size);
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
{
|
||||
const char *data1 = reinterpret_cast<const char *>(data);
|
||||
json_tokener *tok = json_tokener_new();
|
||||
json_object *obj = json_tokener_parse_ex(tok, data1, size);
|
||||
|
||||
json_object_put(obj);
|
||||
json_tokener_free(tok);
|
||||
return 0;
|
||||
json_object_put(obj);
|
||||
json_tokener_free(tok);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user