projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: report percentiles for slat, clat, lat
[fio.git]
/
json.c
diff --git
a/json.c
b/json.c
index e0227ec6446bdfafe678dee39583109fe461fe7d..e2819a65ba6a3236f7a3dba8a506eca07ddfb0fc 100644
(file)
--- a/
json.c
+++ b/
json.c
@@
-1,6
+1,5
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#include <stdio.h>
#include <errno.h>
#include <stdarg.h>
#include "json.h"
#include <errno.h>
#include <stdarg.h>
#include "json.h"
@@
-231,7
+230,6
@@
int json_object_add_value_type(struct json_object *obj, const char *name, int ty
return 0;
}
return 0;
}
-static void json_print_array(struct json_array *array, struct buf_output *);
int json_array_add_value_type(struct json_array *array, int type, ...)
{
struct json_value *value;
int json_array_add_value_type(struct json_array *array, int type, ...)
{
struct json_value *value;
@@
-297,8
+295,8
@@
static void json_print_level(int level, struct buf_output *out)
}
static void json_print_pair(struct json_pair *pair, struct buf_output *);
}
static void json_print_pair(struct json_pair *pair, struct buf_output *);
-static void json_print_array(struct json_array *array, struct buf_output *);
static void json_print_value(struct json_value *value, struct buf_output *);
static void json_print_value(struct json_value *value, struct buf_output *);
+
void json_print_object(struct json_object *obj, struct buf_output *out)
{
int i;
void json_print_object(struct json_object *obj, struct buf_output *out)
{
int i;