Make json_abort() internal to json_object.c

This commit is contained in:
Eric Haszlakiewicz
2020-04-18 02:05:37 +00:00
parent 5cc11289b4
commit 23ddcbd4da
3 changed files with 25 additions and 23 deletions

View File

@@ -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();
}