You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/9pfs
Sean Wei 44f51c1a3c hw/9pfs: move G_GNUC_PRINTF to header
v9fs_path_sprintf() is annotated with G_GNUC_PRINTF(2, 3) in
hw/9pfs/9p.c, but the prototype in hw/9pfs/9p.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.02@sean.taipei>
[CS: fix code style (max. 80 chars per line)]
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
4 weeks ago
..
9p-local.c 9pfs: Introduce futimens file op 3 months ago
9p-local.h 9pfs: local: open/opendir: don't follow symlinks 9 years ago
9p-posix-acl.c 9pfs: fix removing non-existent POSIX ACL xattr on macOS host 3 years ago
9p-synth.c 9pfs: Introduce futimens file op 3 months ago
9p-synth.h 9pfs: Fix segfault in do_readdir_many caused by struct dirent overread 4 years ago
9p-util-darwin.c 9pfs: fix qemu_mknodat() to always return -1 on error on macOS host 3 years ago
9p-util-generic.c 9pfs: improve v9fs_open() tracing 6 months ago
9p-util-linux.c 9p: darwin: Implement compatibility for mknodat 3 years ago
9p-util.h 9pfs: Introduce futimens file op 3 months ago
9p-xattr-user.c trivial typos: namesapce 3 years ago
9p-xattr.c 9pfs: add link to 9p developer docs 4 years ago
9p-xattr.h 9pfs: fix XattrOperations typedef 8 years ago
9p.c hw/9pfs: move G_GNUC_PRINTF to header 4 weeks ago
9p.h hw/9pfs: move G_GNUC_PRINTF to header 4 weeks ago
Kconfig hw/9pfs: Fix Kconfig dependency problem between 9pfs and Xen 5 years ago
codir.c 9pfs: fix 'total_open_fd' decrementation 3 months ago
cofile.c 9pfs: fix 'total_open_fd' decrementation 3 months ago
cofs.c 9pfs: Introduce futimens file op 3 months ago
coth.c thread-pool: avoid passing the pool parameter every time 2 years ago
coth.h 9pfs: Introduce futimens file op 3 months ago
coxattr.c coroutine: Clean up superfluous inclusion of qemu/coroutine.h 3 years ago
meson.build 9pfs: improve v9fs_open() tracing 6 months ago
trace-events 9pfs: improve v9fs_open() tracing 6 months ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
virtio-9p-device.c qom: Have class_init() take a const data argument 4 months ago
virtio-9p.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
xen-9p-backend.c hw/xen: Make XenDevOps structures const 1 year ago
xen-9pfs.h xen: Import other xen/io/*.h 6 years ago