Commit 2a3f0ffc authored by Bartosz Podrygajlo's avatar Bartosz Podrygajlo

fix: Address clang compiler warning in zmq_radio (non-c-typedef-for-linkage)

Signed-off-by: default avatarBartosz Podrygajlo <bartosz.podrygajlo@openairinterface.org>
parent c4125d1c
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
const size_t sample_size = sizeof(cf_t); const size_t sample_size = sizeof(cf_t);
const size_t rx_buffer_size = sample_size * 300000; const size_t rx_buffer_size = sample_size * 300000;
typedef struct { struct zmq_state_t {
void *context; void *context;
zmq_tx_stream tx_stream; zmq_tx_stream tx_stream;
zmq_rx_stream rx_stream; zmq_rx_stream rx_stream;
...@@ -62,7 +62,7 @@ typedef struct { ...@@ -62,7 +62,7 @@ typedef struct {
std::atomic<bool> poll_thread_running; std::atomic<bool> poll_thread_running;
bool stopped = false; bool stopped = false;
double sample_rate; double sample_rate;
} zmq_state_t; };
static void poll_thread(zmq_state_t *s) static void poll_thread(zmq_state_t *s)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment