]> Savannah Git Hosting - gnulib.git/commitdiff
c-xvasprintf: Fix "implicit declaration of function" GCC warning.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 26 Dec 2012 05:18:14 +0000 (21:18 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 26 Dec 2012 05:18:14 +0000 (21:18 -0800)
* lib/c-xvasprintf.c: Add missing #include "c-vasprintf.h", for
c_vasprintf() prototype.

ChangeLog
lib/c-xvasprintf.c

index 211cc595952404f213da10304635c5c8ec43c53a..a454de2d4706912243fd27b07945cfd52f8e86d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-25  Ben Pfaff  <blp@cs.stanford.edu>
+
+       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  <blp@cs.stanford.edu>
 
        c-vasprintf: Fix "empty declaration" warning reported by GCC.
index 87be542247e8569d3401e222c2cdc006dd7cb837..b345c392738ccf5e7005d7c87783d807523794c7 100644 (file)
@@ -22,6 +22,7 @@
 #include <errno.h>
 #include <stdio.h>
 
+#include "c-vasprintf.h"
 #include "xalloc.h"
 
 char *