build: Fix build failure on non-linux platform

This commit is contained in:
Osier Yang 2012-09-17 22:05:48 +08:00
parent 16d9a3df94
commit 22acfdc7fc

View File

@ -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);