projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46de99
)
utils_rrdcreate.c: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 15:55:24 +0000
(16:55 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 15:55:24 +0000
(16:55 +0100)
src/utils_rrdcreate.c
patch
|
blob
|
history
diff --git
a/src/utils_rrdcreate.c
b/src/utils_rrdcreate.c
index
39f42b2
..
06e4f21
100644
(file)
--- a/
src/utils_rrdcreate.c
+++ b/
src/utils_rrdcreate.c
@@
-62,7
+62,7
@@
static int rra_timespans[] =
};
static int rra_timespans_num = STATIC_ARRAY_SIZE (rra_timespans);
-static c
har *
rra_types[] =
+static c
onst char *const
rra_types[] =
{
"AVERAGE",
"MIN",
@@
-305,7
+305,7
@@
static int ds_get (char ***ret, /* {{{ */
for (ds_num = 0; ds_num < ds->ds_num; ds_num++)
{
data_source_t *d = ds->ds + ds_num;
- char *type;
+ c
onst c
har *type;
int status;
ds_def[ds_num] = NULL;