From 75c9b770ad23af1bece9df3b8c87eb9f60ab2024 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 28 Jul 2009 15:23:28 +0100 Subject: [PATCH] Need to declare asprintf_nowarn as inline to avoid gcc complaining. --- daemon/daemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1