aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/ctrl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-20 22:50:47 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-21 15:34:17 +0200
commitf3c7e85d05f7b2b7bf093162b776f71b2bc6420d (patch)
tree9c2e543dd52863075e39fa4f5961cd16a98df5a5 /include/osmocom/ctrl
parentlibctrl: Avoid using external tall_bsc_ctx (diff)
downloadlibosmocore-f3c7e85d05f7b2b7bf093162b776f71b2bc6420d.tar.xz
libosmocore-f3c7e85d05f7b2b7bf093162b776f71b2bc6420d.zip
libctrl: remove reference to bsc_replace_string()
... and rather introduce a general osmo_talloc_replace_string() to libosmocore.
Diffstat (limited to 'include/osmocom/ctrl')
-rw-r--r--include/osmocom/ctrl/control_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h
index 10717acf..e38db037 100644
--- a/include/osmocom/ctrl/control_cmd.h
+++ b/include/osmocom/ctrl/control_cmd.h
@@ -145,7 +145,7 @@ static int get_##cmdname(struct ctrl_cmd *cmd, void *_data) \
static int set_##cmdname(struct ctrl_cmd *cmd, void *_data) \
{ \
dtype *data = cmd->node; \
- bsc_replace_string(cmd->node, &data->element, cmd->value); \
+ osmo_talloc_replace_string(cmd->node, &data->element, cmd->value); \
return get_##cmdname(cmd, _data); \
}
#define CTRL_CMD_DEFINE_STRING(cmdname, cmdstr, dtype, element) \