mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +00:00
build: Fix build failure on non-linux platform
This commit is contained in:
parent
16d9a3df94
commit
22acfdc7fc
@ -967,8 +967,8 @@ cleanup:
|
|||||||
|
|
||||||
int
|
int
|
||||||
nodeSetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
|
nodeSetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||||
virTypedParameterPtr params,
|
virTypedParameterPtr params ATTRIBUTE_UNUSED,
|
||||||
int nparams,
|
int nparams ATTRIBUTE_UNUSED,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
{
|
{
|
||||||
virCheckFlags(0, -1);
|
virCheckFlags(0, -1);
|
||||||
@ -1062,8 +1062,8 @@ cleanup:
|
|||||||
#define NODE_MEMORY_PARAMETERS_NUM 7
|
#define NODE_MEMORY_PARAMETERS_NUM 7
|
||||||
int
|
int
|
||||||
nodeGetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
|
nodeGetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||||
virTypedParameterPtr params,
|
virTypedParameterPtr params ATTRIBUTE_UNUSED,
|
||||||
int *nparams,
|
int *nparams ATTRIBUTE_UNUSED,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
{
|
{
|
||||||
virCheckFlags(VIR_TYPED_PARAM_STRING_OKAY, -1);
|
virCheckFlags(VIR_TYPED_PARAM_STRING_OKAY, -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user