util: Fix the conflict type for virIsCapableFCHost

---
Pushed under build-breaker rule.
This commit is contained in:
Osier Yang 2013-03-28 20:17:05 +08:00
parent a919e6f776
commit 5eeb56fb2a
2 changed files with 3 additions and 2 deletions

View File

@ -3582,7 +3582,8 @@ virReadFCHost(const char *sysfs_prefix ATTRIBUTE_UNUSED,
}
int
virIsCapableFCHost(int host ATTRIBUTE_UNUSED)
virIsCapableFCHost(const char *sysfs_prefix ATTRIBUTE_UNUSED,
int host ATTRIBUTE_UNUSED)
{
virReportSystemError(ENOSYS, "%s", _("Not supported on this platform"));
return -1;

View File

@ -314,7 +314,7 @@ enum {
int virManageVport(const int parent_host,
const char *wwpn,
const char *wwnn,
int operation)
int operation)
ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
#endif /* __VIR_UTIL_H__ */