audit: printf warning fix

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]
This commit is contained in:
KAMEZAWA Hiroyuki 2010-10-28 19:24:32 +09:00 committed by Eric Blake
parent e92848ebfd
commit 5546034210
2 changed files with 2 additions and 0 deletions

View File

@ -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....]

View 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. */