mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
With --without-xen, avoid warning about unused function.
* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
Fri Feb 22 13:32:11 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
With --without-xen, avoid warning about unused function.
|
||||||
|
* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.
|
||||||
|
|
||||||
Thu Feb 21 19:22:10 CET 2008 Jim Meyering <meyering@redhat.com>
|
Thu Feb 21 19:22:10 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
Rewrite openvzSetUUID.
|
Rewrite openvzSetUUID.
|
||||||
|
|||||||
@@ -7,10 +7,13 @@
|
|||||||
#include "stats_linux.h"
|
#include "stats_linux.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
static void testQuietError(void *userData ATTRIBUTE_UNUSED, virErrorPtr error ATTRIBUTE_UNUSED)
|
#if WITH_XEN
|
||||||
|
static void testQuietError(void *userData ATTRIBUTE_UNUSED,
|
||||||
|
virErrorPtr error ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
/* nada */
|
/* nada */
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __linux__ && WITH_XEN
|
#if __linux__ && WITH_XEN
|
||||||
static int testDevice(const char *path, int expect)
|
static int testDevice(const char *path, int expect)
|
||||||
|
|||||||
Reference in New Issue
Block a user