changeset 36910:8a19a0b1a3a7

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 c479d75940c5
children 4aaecb5536cf
files ChangeLog lib/c-vasprintf.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Dec 23 17:55:30 2012 -0800
+++ b/ChangeLog	Mon Dec 24 16:50:37 2012 -0800
@@ -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	Sun Dec 23 17:55:30 2012 -0800
+++ b/lib/c-vasprintf.h	Mon Dec 24 16:50:37 2012 -0800
@@ -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));