summaryrefslogtreecommitdiffstats
path: root/src/write_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/write_queue.c')
-rw-r--r--src/write_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/write_queue.c b/src/write_queue.c
index 597fbe75..7d908b4c 100644
--- a/src/write_queue.c
+++ b/src/write_queue.c
@@ -23,7 +23,7 @@
#include <osmocore/write_queue.h>
-static int queue_cb(struct bsc_fd *fd, unsigned int what)
+int write_queue_bfd_cb(struct bsc_fd *fd, unsigned int what)
{
struct write_queue *queue;
@@ -57,7 +57,7 @@ void write_queue_init(struct write_queue *queue, int max_length)
queue->current_length = 0;
queue->read_cb = NULL;
queue->write_cb = NULL;
- queue->bfd.cb = queue_cb;
+ queue->bfd.cb = write_queue_bfd_cb;
INIT_LLIST_HEAD(&queue->msg_queue);
}