[PATCH wayland]scanner.c: Use WL_PRINTF instead of __attribute__((format(printf)))
Pekka Paalanen
ppaalanen at gmail.com
Fri Nov 28 02:46:09 PST 2014
On Thu, 27 Nov 2014 20:50:14 +0530
Seedo Eldho Paul <seedoeldhopaul at gmail.com> wrote:
> Signed-off-by: Seedo Eldho Paul <seedoeldhopaul at gmail.com>
> ---
> src/scanner.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/scanner.c b/src/scanner.c
> index fa8e0c0..ca03c57 100644
> --- a/src/scanner.c
> +++ b/src/scanner.c
> @@ -199,7 +199,7 @@ static const char *indent(int n)
> }
>
> static void
> -desc_dump(char *desc, const char *fmt, ...) __attribute__((format(printf,2,3)));
> +desc_dump(char *desc, const char *fmt, ...) WL_PRINTF(2, 3);
>
> static void
> desc_dump(char *desc, const char *fmt, ...)
Pushed, thanks,
pq
More information about the wayland-devel
mailing list