projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44ff91
)
ceph plugin: mark variable as static and const
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 16:53:50 +0000
(17:53 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 16:56:12 +0000
(17:56 +0100)
src/ceph.c
patch
|
blob
|
history
diff --git
a/src/ceph.c
b/src/ceph.c
index
f28e88f
..
b1ca3b6
100644
(file)
--- a/
src/ceph.c
+++ b/
src/ceph.c
@@
-96,7
+96,7
@@
enum ceph_dset_type_d
};
/** Valid types for ceph defined in types.db */
-
const char *
ceph_dset_types [CEPH_DSET_TYPES_NUM] =
+
static const char * const
ceph_dset_types [CEPH_DSET_TYPES_NUM] =
{"ceph_latency", "ceph_bytes", "ceph_rate"};
/******* ceph_daemon *******/