From 5a4f1cc7457ba92b5549d43396c75c45f529540c Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Sat, 23 Oct 2021 20:11:37 +0800 Subject: [PATCH] util: export queue_FrontByte correctly --- util/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/queue.c b/util/queue.c index f1f835b..4437035 100644 --- a/util/queue.c +++ b/util/queue.c @@ -34,7 +34,7 @@ uint8_t queue_PopByte(queue *q) { return data; } -uint8_t queue_TopByte(queue *q) { +uint8_t queue_FrontByte(queue *q) { if (q->count == 0) { io_WriteConsoleASCII("queue_TopByte: accessing an empty queue\n"); return 0;