diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-23 05:16:13 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-12-23 05:16:13 +0100 |
commit | 6fced2fd0a0065249265b6f4a53acd925c2e0f09 (patch) | |
tree | 40cbc21e2f338e975a947ae3f873584fe38a8c8f | |
parent | 5dbd71e31d08e883db6549b6dcca6560e786c764 (diff) |
[statistics] Make counter_db_store internal
Do not expose DB functionality on this level
-rw-r--r-- | openbsc/include/openbsc/statistics.h | 1 | ||||
-rw-r--r-- | openbsc/src/statistics.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/statistics.h b/openbsc/include/openbsc/statistics.h index 9291a8c25..9d761c62b 100644 --- a/openbsc/include/openbsc/statistics.h +++ b/openbsc/include/openbsc/statistics.h @@ -25,6 +25,5 @@ static inline void counter_reset(struct counter *ctr) struct counter *counter_alloc(const char *name); void counter_free(struct counter *ctr); -int counters_store_db(void); #endif /* _STATISTICS_H */ diff --git a/openbsc/src/statistics.c b/openbsc/src/statistics.c index 3429d6ec6..4cc281d5a 100644 --- a/openbsc/src/statistics.c +++ b/openbsc/src/statistics.c @@ -56,7 +56,7 @@ void counter_free(struct counter *ctr) talloc_free(ctr); } -int counters_store_db(void) +static int counters_store_db(void) { struct counter *ctr; int rc = 0; |