diff --git a/src/channel.c b/src/channel.c index 8ee27ea..4859466 100644 --- a/src/channel.c +++ b/src/channel.c @@ -21,7 +21,7 @@ #include #include -struct msgbuf { +struct channel_msgbuf { long mtype; /* message type, must be > 0 */ uint8_t mtext[512]; /* message data */ }; @@ -34,7 +34,7 @@ struct channel_msgq_s { int recv_msgid; }; -struct msgbuf send_buf, recv_buf; +struct channel_msgbuf send_buf, recv_buf; int channel_msgq_send(void *data, uint8_t *buf, int len) {