util: export queue_FrontByte correctly
This commit is contained in:
parent
69f50aa3e8
commit
5a4f1cc745
@ -34,7 +34,7 @@ uint8_t queue_PopByte(queue *q) {
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t queue_TopByte(queue *q) {
|
uint8_t queue_FrontByte(queue *q) {
|
||||||
if (q->count == 0) {
|
if (q->count == 0) {
|
||||||
io_WriteConsoleASCII("queue_TopByte: accessing an empty queue\n");
|
io_WriteConsoleASCII("queue_TopByte: accessing an empty queue\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user