Mercurial > hg > octave-jordi > gnulib-hg
changeset 17219:9bba47f98423
c-vasprintf: Fix "empty declaration" warning reported by GCC.
* lib/c-vasprintf.h: Remove stray semicolon.
author | Ben Pfaff <blp@cs.stanford.edu> |
---|---|
date | Mon, 24 Dec 2012 16:50:37 -0800 |
parents | 12b7167cca02 |
children | 4c84368f0916 |
files | ChangeLog lib/c-vasprintf.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-12-24 Ben Pfaff <blp@cs.stanford.edu> + + c-vasprintf: Fix "empty declaration" warning reported by GCC. + * lib/c-vasprintf.h: Remove stray semicolon. + 2012-12-23 Paul Eggert <eggert@cs.ucla.edu> gettext: avoid obsolete macro AM_PROG_MKDIR_P
--- a/lib/c-vasprintf.h +++ b/lib/c-vasprintf.h @@ -39,7 +39,7 @@ /* asprintf() and vasprintf(), but formatting takes place in the C locale, that is, the decimal point used in floating-point formatting directives is always '.'. */ -int c_asprintf (char **resultp, const char *format, ...); +int c_asprintf (char **resultp, const char *format, ...) _GL_ATTRIBUTE_FORMAT ((__printf__, 2, 3)); int c_vasprintf (char **resultp, const char *format, va_list args) _GL_ATTRIBUTE_FORMAT ((__printf__, 2, 0));