summaryrefslogtreecommitdiffstats
path: root/daemon/daemon.h
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-07-28 15:23:28 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-07-28 15:23:28 +0100
commit75c9b770ad23af1bece9df3b8c87eb9f60ab2024 (patch)
tree048967389d26cfe623a19f441f0624f27ca0aae6 /daemon/daemon.h
parent0f2e9c84e9ff1071260770930068642ecc8ac0d9 (diff)
downloadlibguestfs-75c9b770ad23af1bece9df3b8c87eb9f60ab2024.tar.gz
libguestfs-75c9b770ad23af1bece9df3b8c87eb9f60ab2024.tar.xz
libguestfs-75c9b770ad23af1bece9df3b8c87eb9f60ab2024.zip
Need to declare asprintf_nowarn as inline to avoid gcc complaining.
Diffstat (limited to 'daemon/daemon.h')
-rw-r--r--daemon/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index 5bf6f356..9aa831a5 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;