From: Richard Jones Date: Tue, 28 Jul 2009 14:23:28 +0000 (+0100) Subject: Need to declare asprintf_nowarn as inline to avoid gcc complaining. X-Git-Tag: 1.0.65~17 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=75c9b770ad23af1bece9df3b8c87eb9f60ab2024;p=libguestfs.git Need to declare asprintf_nowarn as inline to avoid gcc complaining. --- diff --git a/daemon/daemon.h b/daemon/daemon.h index 5bf6f35..9aa831a 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -62,7 +62,7 @@ extern void udev_settle (void); * printf formatters %Q and %R. See HACKING file for more * info about these. */ -static int +static inline int asprintf_nowarn (char **strp, const char *fmt, ...) { int r;