Skip to content

Commit

Permalink
channel: Fix build failure due to msgbuf redefined
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Feb 14, 2024
1 parent 65c4c01 commit 844307f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <utils/channel.h>
#include <utils/fdutils.h>

struct msgbuf {
struct channel_msgbuf {
long mtype; /* message type, must be > 0 */
uint8_t mtext[512]; /* message data */
};
Expand All @@ -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)
{
Expand Down

0 comments on commit 844307f

Please sign in to comment.