From: Ruben Kerkhof Date: Fri, 4 Mar 2016 16:53:50 +0000 (+0100) Subject: ceph plugin: mark variable as static and const X-Git-Tag: collectd-5.6.0~445^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b6b5e108cc84886b84b9b09a95b4b63da4b0bc63;p=collectd.git ceph plugin: mark variable as static and const --- diff --git a/src/ceph.c b/src/ceph.c index f28e88f5..b1ca3b66 100644 --- 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 *******/