qemu/fsdev
Sean Wei 44b540338a fsdev/9p-marshal: move G_GNUC_PRINTF to header
v9fs_string_sprintf() is annotated with G_GNUC_PRINTF(2, 3) in
9p-marshal.c, but the prototype in fsdev/9p-marshal.h is missing the
attribute, so callers that include only the header do not get format
checking.

Move the annotation to the header and delete the duplicate in the
source file. No behavior change.

Signed-off-by: Sean Wei <me@sean.taipei>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20250613.qemu.9p.01@sean.taipei>
[CS: fix code style (max. 80 chars per line)]
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
2025-07-16 14:18:48 +02:00
..
9p-iov-marshal.c fsdep/9p: fix -Werror=maybe-uninitialized false-positive 2024-10-02 16:14:29 +04:00
9p-iov-marshal.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
9p-marshal.c fsdev/9p-marshal: move G_GNUC_PRINTF to header 2025-07-16 14:18:48 +02:00
9p-marshal.h fsdev/9p-marshal: move G_GNUC_PRINTF to header 2025-07-16 14:18:48 +02:00
file-op-9p.h 9pfs: Introduce futimens file op 2025-05-05 11:28:29 +02:00
meson.build 9p: remove 'proxy' filesystem backend driver 2024-10-03 19:33:25 +02:00
p9array.h Don't include headers already included by qemu/osdep.h 2023-02-08 07:28:05 +01:00
qemu-fsdev-dummy.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
qemu-fsdev-opts.c 9p: Added virtfs option 'multidevs=remap|forbid|warn' 2019-10-10 11:36:05 +02:00
qemu-fsdev-throttle.c fsdev: Use ThrottleDirection instread of bool is_write 2023-08-29 10:49:24 +02:00
qemu-fsdev-throttle.h fsdev: Use ThrottleDirection instread of bool is_write 2023-08-29 10:49:24 +02:00
qemu-fsdev.c 9p: remove 'proxy' filesystem backend driver 2024-10-03 19:33:25 +02:00
qemu-fsdev.h 9p: remove 'proxy' filesystem backend driver 2024-10-03 19:33:25 +02:00