I pushed this to master as an obvious fix. --8<--------------------------cut here-------------------------->8--
From: Ben Pfaff <b...@cs.stanford.edu> Date: Tue, 25 Dec 2012 21:18:14 -0800 Subject: [PATCH] c-xvasprintf: Fix "implicit declaration of function" GCC warning. * lib/c-xvasprintf.c: Add missing #include "c-vasprintf.h", for c_vasprintf() prototype. --- ChangeLog | 6 ++++++ lib/c-xvasprintf.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 211cc59..a454de2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-12-25 Ben Pfaff <b...@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 <b...@cs.stanford.edu> c-vasprintf: Fix "empty declaration" warning reported by GCC. diff --git a/lib/c-xvasprintf.c b/lib/c-xvasprintf.c index 87be542..b345c39 100644 --- a/lib/c-xvasprintf.c +++ b/lib/c-xvasprintf.c @@ -22,6 +22,7 @@ #include <errno.h> #include <stdio.h> +#include "c-vasprintf.h" #include "xalloc.h" char * -- 1.7.10.4