X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fceph.c;h=b1ca3b66649dce4d6e086910b89ef13f534a7d2c;hb=b6b5e108cc84886b84b9b09a95b4b63da4b0bc63;hp=9c53a3e76590e1ba490c83e24c26551815c935cf;hpb=bb3ddf8cb0a97620ecc1333c4290e14f809cdba5;p=collectd.git diff --git a/src/ceph.c b/src/ceph.c index 9c53a3e7..b1ca3b66 100644 --- a/src/ceph.c +++ b/src/ceph.c @@ -45,7 +45,6 @@ #include #include #include -#include #include #include #include @@ -97,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 *******/