]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
audit: printf warning fix
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Thu, 28 Oct 2010 10:24:32 +0000 (19:24 +0900)
committerEric Blake <eblake@redhat.com>
Thu, 28 Oct 2010 17:23:42 +0000 (11:23 -0600)
fix warning
  CC     libvirt_util_la-virtaudit.lo
cc1: warnings being treated as errors
util/virtaudit.c: In function 'virAuditEncode':
util/virtaudit.c:146: error: implicit declaration of function 'virAsprintf' [-Wimplicit-function-declaration]
util/virtaudit.c:146: error: nested extern declaration of 'virAsprintf' [-Wnested-externs]

AUTHORS
src/util/virtaudit.c

diff --git a/AUTHORS b/AUTHORS
index cb1fc11d337bdfda633181fb1ed963ae0ecd2929..449a45032b8743729914ce3f6d1b05237a3b4494 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -134,6 +134,7 @@ Patches have also been contributed by:
   Harsh Prateek Bora   <harsh@linux.vnet.ibm.com>
   John Morrissey       <jwm@horde.net>
   Osier Yang           <jyang@redhat.com>
+  Kamezawa Hiroyuki    <kamezawa.hiroyu@jp.fujitsu.com>
 
   [....send patches to get your name here....]
 
index d5686608ff88a7b94e593c2a1fed538e0cf02727..6af7af0abf1913b6b31ccf80c0406d7431dcb06f 100644 (file)
@@ -30,6 +30,7 @@
 #include "virterror_internal.h"
 #include "logging.h"
 #include "virtaudit.h"
+#include "util.h"
 
 /* Provide the macros in case the header file is old.
    FIXME: should be removed. */