projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc0f3ae
)
src/utils_format_json.c: Remove unused arguments.
author
Florian Forster
<octo@collectd.org>
Thu, 23 Aug 2012 07:45:57 +0000
(09:45 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 23 Aug 2012 07:46:41 +0000
(09:46 +0200)
src/utils_format_json.c
patch
|
blob
|
history
diff --git
a/src/utils_format_json.c
b/src/utils_format_json.c
index
ec19843
..
bbc3dfd
100644
(file)
--- a/
src/utils_format_json.c
+++ b/
src/utils_format_json.c
@@
-152,7
+152,7
@@
static int values_to_json (char *buffer, size_t buffer_size, /* {{{ */
} /* }}} int values_to_json */
static int dstypes_to_json (char *buffer, size_t buffer_size, /* {{{ */
} /* }}} int values_to_json */
static int dstypes_to_json (char *buffer, size_t buffer_size, /* {{{ */
- const data_set_t *ds
, const value_list_t *vl
)
+ const data_set_t *ds)
{
size_t offset = 0;
int i;
{
size_t offset = 0;
int i;
@@
-189,7
+189,7
@@
static int dstypes_to_json (char *buffer, size_t buffer_size, /* {{{ */
} /* }}} int dstypes_to_json */
static int dsnames_to_json (char *buffer, size_t buffer_size, /* {{{ */
} /* }}} int dstypes_to_json */
static int dsnames_to_json (char *buffer, size_t buffer_size, /* {{{ */
- const data_set_t *ds
, const value_list_t *vl
)
+ const data_set_t *ds)
{
size_t offset = 0;
int i;
{
size_t offset = 0;
int i;
@@
-334,12
+334,12
@@
static int value_list_to_json (char *buffer, size_t buffer_size, /* {{{ */
return (status);
BUFFER_ADD ("\"values\":%s", temp);
return (status);
BUFFER_ADD ("\"values\":%s", temp);
- status = dstypes_to_json (temp, sizeof (temp), ds
, vl
);
+ status = dstypes_to_json (temp, sizeof (temp), ds);
if (status != 0)
return (status);
BUFFER_ADD (",\"dstypes\":%s", temp);
if (status != 0)
return (status);
BUFFER_ADD (",\"dstypes\":%s", temp);
- status = dsnames_to_json (temp, sizeof (temp), ds
, vl
);
+ status = dsnames_to_json (temp, sizeof (temp), ds);
if (status != 0)
return (status);
BUFFER_ADD (",\"dsnames\":%s", temp);
if (status != 0)
return (status);
BUFFER_ADD (",\"dsnames\":%s", temp);