pespin has uploaded this change for review.
Move function defined in rest_it_op.c to rest_it_op.h
Change-Id: I434357d995a3c90342dbc7d2ac7e568c049ff7ae
---
M include/osmocom/cbc/internal.h
M include/osmocom/cbc/rest_it_op.h
M src/cbc_main.c
3 files changed, 2 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/94/28694/1
diff --git a/include/osmocom/cbc/internal.h b/include/osmocom/cbc/internal.h
index 044387a..e59a923 100644
--- a/include/osmocom/cbc/internal.h
+++ b/include/osmocom/cbc/internal.h
@@ -58,9 +58,6 @@
struct cbc_message *cbc_message_by_id(uint16_t message_id);
int peer_new_cbc_message(struct cbc_peer *peer, struct cbc_message *cbcmsg);
-/* rest_it_op.c */
-void rest2main_read_cb(struct osmo_it_q *q, struct llist_head *item);
-
/* smscb_*fsm.c */
enum smscb_fsm_event {
diff --git a/include/osmocom/cbc/rest_it_op.h b/include/osmocom/cbc/rest_it_op.h
index 94a617e..c868b7c 100644
--- a/include/osmocom/cbc/rest_it_op.h
+++ b/include/osmocom/cbc/rest_it_op.h
@@ -50,3 +50,4 @@
int rest_it_op_send_and_wait(struct rest_it_op *op);
void rest_it_op_set_http_result(struct rest_it_op *op, uint32_t code, const char *body);
void rest_it_op_complete(struct rest_it_op *op);
+void rest2main_read_cb(struct osmo_it_q *q, struct llist_head *item);
diff --git a/src/cbc_main.c b/src/cbc_main.c
index dd157ca..3727fad 100644
--- a/src/cbc_main.c
+++ b/src/cbc_main.c
@@ -45,6 +45,7 @@
#include <osmocom/vty/misc.h>
#include <osmocom/cbc/internal.h>
+#include <osmocom/cbc/rest_it_op.h>
#include <osmocom/cbc/cbsp_server.h>
#include <osmocom/cbc/sbcap_server.h>
#include <osmocom/cbc/cbc_data.h>
To view, visit change 28694. To unsubscribe, or for help writing mail filters, visit settings.