diff options
author | Harald Welte <laforge@netfilter.org> | 2009-12-24 10:04:09 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2009-12-24 10:04:09 +0100 |
commit | 026a6c33895bd13a8561b6f933b67abd005bccee (patch) | |
tree | 4a738174d2ad561109c92da66b6e13921b6cf817 /openbsc/src/talloc_ctx.c | |
parent | 30d2ebddd6eb1fd62deff137aa2c8eab55f2efc3 (diff) |
counter: create their own talloc context for better readability
Diffstat (limited to 'openbsc/src/talloc_ctx.c')
-rw-r--r-- | openbsc/src/talloc_ctx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/talloc_ctx.c b/openbsc/src/talloc_ctx.c index e90677b7e..13ec77530 100644 --- a/openbsc/src/talloc_ctx.c +++ b/openbsc/src/talloc_ctx.c @@ -14,6 +14,7 @@ extern void *tall_tqe_ctx; extern void *tall_trans_ctx; extern void *tall_map_ctx; extern void *tall_upq_ctx; +extern void *tall_ctr_ctx; void talloc_ctx_init(void) { @@ -31,4 +32,5 @@ void talloc_ctx_init(void) tall_trans_ctx = talloc_named_const(tall_bsc_ctx, 0, "transaction"); tall_map_ctx = talloc_named_const(tall_bsc_ctx, 0, "trau_map_entry"); tall_upq_ctx = talloc_named_const(tall_bsc_ctx, 0, "trau_upq_entry"); + tall_ctr_ctx = talloc_named_const(tall_ctr_ctx, 0, "counter"); } |