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 cfe09f3..211cc59 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 347679e..1b85de2 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));