From: Ben Pfaff Date: Wed, 26 Dec 2012 05:18:14 +0000 (-0800) Subject: c-xvasprintf: Fix "implicit declaration of function" GCC warning. X-Git-Tag: v0.1~309 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=fc102289543631b711bc0bbd65c0090262b170b9;p=gnulib.git c-xvasprintf: Fix "implicit declaration of function" GCC warning. * lib/c-xvasprintf.c: Add missing #include "c-vasprintf.h", for c_vasprintf() prototype. --- diff --git a/ChangeLog b/ChangeLog index 211cc59595..a454de2d47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-12-25 Ben Pfaff + + c-xvasprintf: Fix "implicit declaration of function" GCC warning. + * lib/c-xvasprintf.c: Add missing #include "c-vasprintf.h", for + c_vasprintf() prototype. + 2012-12-24 Ben Pfaff c-vasprintf: Fix "empty declaration" warning reported by GCC. diff --git a/lib/c-xvasprintf.c b/lib/c-xvasprintf.c index 87be542247..b345c39273 100644 --- a/lib/c-xvasprintf.c +++ b/lib/c-xvasprintf.c @@ -22,6 +22,7 @@ #include #include +#include "c-vasprintf.h" #include "xalloc.h" char *