diff options
author | Ben Pfaff <blp@cs.stanford.edu> | 2012-12-24 16:50:37 -0800 |
---|---|---|
committer | Ben Pfaff <blp@cs.stanford.edu> | 2012-12-24 16:50:37 -0800 |
commit | 991d8a3a009e937f6ad6f5df6207969294f96b13 (patch) | |
tree | 2cb3a6db9d9b7ac7d7bb77cba4ed539600b90d28 /lib | |
parent | 730bf46873d3e6dd152d95470e14967421b795da (diff) | |
download | gnulib-991d8a3a009e937f6ad6f5df6207969294f96b13.tar.gz |
c-vasprintf: Fix "empty declaration" warning reported by GCC.
* lib/c-vasprintf.h: Remove stray semicolon.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/c-vasprintf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/c-vasprintf.h b/lib/c-vasprintf.h index 347679ef76..1b85de2ccd 100644 --- a/lib/c-vasprintf.h +++ b/lib/c-vasprintf.h @@ -39,7 +39,7 @@ extern "C" { /* 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)); |