summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-05-06 12:13:10 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-05-06 12:14:16 +0200
commitdfb342c19af19b60350849f40d1be5e8f7a530a5 (patch)
tree9d5480b01ec8abc805069c92c3fd122bd9206429 /openbsc/src/osmo-nitb
parente1273b1f3c2c1bf44a2b8c274b880370d6de25cf (diff)
src: use namespace prefix osmo_counter*
Summary of changes: s/struct counter/struct osmo_counter/g s/counter_inc/osmo_counter_inc/g s/counter_get/osmo_counter_get/g s/counter_reset/osmo_counter_reset/g s/counter_alloc/osmo_counter_alloc/g s/counter_free/osmo_counter_free
Diffstat (limited to 'openbsc/src/osmo-nitb')
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 8e987b273..5e604413b 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -195,7 +195,7 @@ static void signal_handler(int signal)
}
/* timer handling */
-static int _db_store_counter(struct counter *counter, void *data)
+static int _db_store_counter(struct osmo_counter *counter, void *data)
{
return db_store_counter(counter);
}
@@ -203,7 +203,7 @@ static int _db_store_counter(struct counter *counter, void *data)
static void db_sync_timer_cb(void *data)
{
/* store counters to database and re-schedule */
- counters_for_each(_db_store_counter, NULL);
+ osmo_counters_for_each(_db_store_counter, NULL);
osmo_timer_schedule(&db_sync_timer, DB_SYNC_INTERVAL);
}