aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 21:14:32 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-23 21:14:32 +0800
commit75bd69bc914d4ecd1b19f65662889af173aca64c (patch)
tree8f6d930c07951e2f4dedd13ab7385dd1e738f2e8
parent0ebd688746f2e8e6954b057460f53ae32b4f6e42 (diff)
rate_ctr: Make the struct rate_ctr_group_desc members const0.1.8
-rw-r--r--include/osmocore/rate_ctr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocore/rate_ctr.h b/include/osmocore/rate_ctr.h
index 88c9de5..f887d9a 100644
--- a/include/osmocore/rate_ctr.h
+++ b/include/osmocore/rate_ctr.h
@@ -34,13 +34,13 @@ struct rate_ctr_desc {
/* Describe a counter group class */
struct rate_ctr_group_desc {
/* The prefix to the name of all counters in this group */
- char *group_name_prefix;
+ const char *group_name_prefix;
/* The human-readable description of the group */
- char *group_description;
+ const char *group_description;
/* The number of counters in this group */
- unsigned int num_ctr;
+ const unsigned int num_ctr;
/* Pointer to array of counter names */
- struct rate_ctr_desc *ctr_desc;
+ const struct rate_ctr_desc *ctr_desc;
};
/* One instance of a counter group class */