Re: [PATCH 1/2] fsdev/9p-marshal: move G_GNUC_PRINTF to header

2025-06-15 Thread Philippe Mathieu-Daudé
On 14/6/25 04:08, Sean Wei wrote: 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 du

[PATCH 1/2] fsdev/9p-marshal: move G_GNUC_PRINTF to header

2025-06-13 Thread Sean Wei
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 behav