Make virTypedParameterValidateSet non-static

The virTypedParameterValidateSet method will need to be used
from several libvirt-*.c files so must be non-static

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2014-10-24 16:54:29 +01:00
parent 36b5d006c1
commit 8444015446
3 changed files with 8 additions and 1 deletions

View File

@ -73,6 +73,7 @@ ignored_functions = {
"virDomainMigratePrepareTunnel3": "private function for tunnelled migration",
"DllMain": "specific function for Win32",
"virTypedParamsValidate": "internal function in virtypedparam.c",
"virTypedParameterValidateSet": "internal function in virtypedparam.c",
"virTypedParameterAssign": "internal function in virtypedparam.c",
"virTypedParameterAssignFromStr": "internal function in virtypedparam.c",
"virTypedParameterToString": "internal function in virtypedparam.c",

View File

@ -3786,7 +3786,7 @@ virDomainSetMemoryStatsPeriod(virDomainPtr domain, int period,
/* Helper function called to validate incoming client array on any
* interface that sets typed parameters in the hypervisor. */
static int
int
virTypedParameterValidateSet(virConnectPtr conn,
virTypedParameterPtr params,
int nparams)

View File

@ -285,4 +285,10 @@ int virDomainMigrateConfirm3Params(virDomainPtr domain,
int cookieinlen,
unsigned int flags,
int cancelled);
int
virTypedParameterValidateSet(virConnectPtr conn,
virTypedParameterPtr params,
int nparams);
#endif