mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-02 06:32:54 -10:00
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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> [CS: fix code style (max. 80 chars per line)] Signed-off-by: Christian Schoenebeck <[email protected]>