From b6b5e108cc84886b84b9b09a95b4b63da4b0bc63 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 4 Mar 2016 17:53:50 +0100 Subject: [PATCH] ceph plugin: mark variable as static and const --- src/ceph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *******/ -- 2.11.0