summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/ctrl/control_if.h4
-rw-r--r--src/ctrl/control_if.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/osmocom/ctrl/control_if.h b/include/osmocom/ctrl/control_if.h
index 5e10a039..3ac8bb6c 100644
--- a/include/osmocom/ctrl/control_if.h
+++ b/include/osmocom/ctrl/control_if.h
@@ -21,8 +21,8 @@ struct ctrl_handle {
int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd);
-struct ctrl_handle *controlif_setup(void *data, uint16_t port,
- ctrl_cmd_lookup lookup);
+struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port,
+ ctrl_cmd_lookup lookup);
int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, void *data);
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index bb690e55..54bca230 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -646,8 +646,8 @@ static int verify_counter(struct ctrl_cmd *cmd, const char *value, void *data)
return 0;
}
-struct ctrl_handle *controlif_setup(void *data, uint16_t port,
- ctrl_cmd_lookup lookup)
+struct ctrl_handle *ctrl_interface_setup(void *data, uint16_t port,
+ ctrl_cmd_lookup lookup)
{
int ret;
struct ctrl_handle *ctrl;