]> Savannah Git Hosting - gnulib.git/commitdiff
c-vasprintf: Fix "empty declaration" warning reported by GCC.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 25 Dec 2012 00:50:37 +0000 (16:50 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 25 Dec 2012 00:50:37 +0000 (16:50 -0800)
* lib/c-vasprintf.h: Remove stray semicolon.

ChangeLog
lib/c-vasprintf.h

index cfe09f388d20a837c02fc1bcf6c20f5974c09bb1..211cc595952404f213da10304635c5c8ec43c53a 100644 (file)
--- 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
index 347679ef76fc2f4d88584a8ea41e0aa67a2f0543..1b85de2ccd0205da9935c8c4fad6d704fd3891c3 100644 (file)
@@ -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));