[Libvir] sexpr_get: add __printf__ attribute

2007-10-17 Thread Jim Meyering
I noticed sexpr_get takes a printf-style format, yet it is declared with no printf attribute. Here's the fix: 2007-10-17 Jim Meyering [EMAIL PROTECTED] * src/xend_internal.c (sexpr_get): Declare with gcc's printf attribute. Index: src/xend_internal.c

Re: [Libvir] sexpr_get: add __printf__ attribute

2007-10-17 Thread Richard W.M. Jones
Jim Meyering wrote: I noticed sexpr_get takes a printf-style format, yet it is declared with no printf attribute. Here's the fix: 2007-10-17 Jim Meyering [EMAIL PROTECTED] * src/xend_internal.c (sexpr_get): Declare with gcc's printf attribute. Index: src/xend_internal.c

Re: [Libvir] sexpr_get: add __printf__ attribute

2007-10-17 Thread Jim Meyering
Richard W.M. Jones [EMAIL PROTECTED] wrote: I changed it to use the ATTRIBUTE_FORMAT macro (expands to nothing on non-GCC), and committed it. Ha! Thanks. That'll teach me to use an old work tree. -- Libvir-list mailing list Libvir-list@redhat.com