Fix virJSONValueToString prototype for Mingw32

Fix build on platforms lacking YAJL library by adding missing
'bool pretty' parameter to virJSONValueToString.
This commit is contained in:
Daniel P. Berrange 2012-08-15 15:51:46 +01:00
parent c7447ab147
commit f376d24e79

View File

@ -1112,7 +1112,8 @@ virJSONValuePtr virJSONValueFromString(const char *jsonstring ATTRIBUTE_UNUSED)
_("No JSON parser implementation is available"));
return NULL;
}
char *virJSONValueToString(virJSONValuePtr object ATTRIBUTE_UNUSED)
char *virJSONValueToString(virJSONValuePtr object ATTRIBUTE_UNUSED,
bool pretty ATTRIBUTE_UNUSED)
{
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("No JSON parser implementation is available"));