core: queue: update b_queue_empty parameter to be a const ptr
This commit is contained in:
@@ -38,7 +38,7 @@ static inline void b_queue_init(b_queue *q)
|
||||
{
|
||||
memset(q, 0x00, sizeof *q);
|
||||
}
|
||||
static inline bool b_queue_empty(b_queue *q)
|
||||
static inline bool b_queue_empty(const b_queue *q)
|
||||
{
|
||||
return q->q_first == NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user