diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-28 15:23:28 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-28 15:23:28 +0100 |
commit | 75c9b770ad23af1bece9df3b8c87eb9f60ab2024 (patch) | |
tree | 048967389d26cfe623a19f441f0624f27ca0aae6 /daemon/daemon.h | |
parent | 0f2e9c84e9ff1071260770930068642ecc8ac0d9 (diff) | |
download | libguestfs-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.h | 2 |
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; |