mirror of
https://github.com/json-c/json-c.git
synced 2026-11-07 22:20:16 +08:00
Make json_abort() internal to json_object.c
This commit is contained in:
1 parent
5cc11289b4
commit
23ddcbd4da
3 files changed
+25
-23
No files matched your search
@@ -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