mirror of
https://github.com/json-c/json-c.git
synced 2026-03-26 08:29:06 +08:00
Make json_abort() internal to json_object.c
This commit is contained in:
@@ -297,9 +297,3 @@ const char *json_type_to_name(enum json_type o_type)
|
||||
return json_type_name[o_type];
|
||||
}
|
||||
|
||||
void json_abort(const char *message)
|
||||
{
|
||||
if (message != NULL)
|
||||
fprintf(stderr, "json-c aborts with error: %s\n", message);
|
||||
abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user