fifo8: rename fifo8_pop_buf() to fifo8_peekpop_buf()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 28 Aug 2024 12:22:54 +0000 (13:22 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Sep 2024 18:11:13 +0000 (20:11 +0200)
commit7fd6866c3c1596f6ff7de9ff2fa64275627f7ffe
treebcb629bd2c60d89ba0027c16e5f9f9be4b755403
parent90c933255b1f1ad25b8e591ce88404d89819878c
fifo8: rename fifo8_pop_buf() to fifo8_peekpop_buf()

The fifo8_pop_buf() function will soon also be used for peek
operations, so rename the function accordingly. Create a new
fifo8_pop_buf() wrapper function that can be used by existing
callers.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Octavian Purdila <tavip@google.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240828122258.928947-6-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
util/fifo8.c