mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29: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
|
||||
nodeSetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
virTypedParameterPtr params,
|
||||
int nparams,
|
||||
virTypedParameterPtr params ATTRIBUTE_UNUSED,
|
||||
int nparams ATTRIBUTE_UNUSED,
|
||||
unsigned int flags)
|
||||
{
|
||||
virCheckFlags(0, -1);
|
||||
@ -1062,8 +1062,8 @@ cleanup:
|
||||
#define NODE_MEMORY_PARAMETERS_NUM 7
|
||||
int
|
||||
nodeGetMemoryParameters(virConnectPtr conn ATTRIBUTE_UNUSED,
|
||||
virTypedParameterPtr params,
|
||||
int *nparams,
|
||||
virTypedParameterPtr params ATTRIBUTE_UNUSED,
|
||||
int *nparams ATTRIBUTE_UNUSED,
|
||||
unsigned int flags)
|
||||
{
|
||||
virCheckFlags(VIR_TYPED_PARAM_STRING_OKAY, -1);
|
||||
|
Loading…
Reference in New Issue
Block a user