]> www.infradead.org Git - users/dwmw2/qemu.git/commit
util/fifo8: Rename fifo8_pop_buf() -> fifo8_pop_bufptr()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 22 Jul 2024 11:25:01 +0000 (13:25 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 23 Jul 2024 20:34:54 +0000 (22:34 +0200)
commit06252bf5122f047ed5c14fb75f3167f11b882352
treee952ab6e63bee8853a3a7d0be336208a46ce9c74
parent06a16e7ba98438087b8806bad0ddf094380892a9
util/fifo8: Rename fifo8_pop_buf() -> fifo8_pop_bufptr()

Since fifo8_pop_buf() return a const buffer (which points
directly into the FIFO backing store). Rename it using the
'bufptr' suffix to better reflect that it is a pointer to
the internal buffer that is being returned. This will help
differentiate with methods *copying* the FIFO data.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20240722160745.67904-6-philmd@linaro.org>
chardev/msmouse.c
hw/char/goldfish_tty.c
hw/net/allwinner_emac.c
hw/scsi/esp.c
include/qemu/fifo8.h
ui/console-vc.c
ui/gtk.c
util/fifo8.c