summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-18 16:45:45 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-18 16:46:35 +0200
commita9f526a1abb1d2bfa68c611f1676fea2d89bc9d9 (patch)
treead9ab344d2f63e8ab3fb9e6d0c7ab48e0ca10acc /include/osmocom
parent334c8e178008f3184382aae6c2cd13b9652169e2 (diff)
stats: Fix the compiler warnings
Do not remove the const, include strings.h for strcmp
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/rate_ctr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/rate_ctr.h b/include/osmocom/core/rate_ctr.h
index 63baa322..ebb8646c 100644
--- a/include/osmocom/core/rate_ctr.h
+++ b/include/osmocom/core/rate_ctr.h
@@ -76,5 +76,5 @@ static inline void rate_ctr_inc(struct rate_ctr *ctr)
int rate_ctr_init(void *tall_ctx);
struct rate_ctr_group *rate_ctr_get_group_by_name_idx(const char *name, const unsigned int idx);
-struct rate_ctr *rate_ctr_get_by_name(const struct rate_ctr_group *ctrg, const char *name);
+const struct rate_ctr *rate_ctr_get_by_name(const struct rate_ctr_group *ctrg, const char *name);
#endif /* RATE_CTR_H */