mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
bhyve: fix ATTRIBUTE_NONNULL usage
Fix incorrect ATTRIBUTE_NONNULL usage introduced in 17b17565 which caused build failure: bhyve/bhyve_driver.c:127:48: error: expected ')' bhyveDriverGetCapabilities(bhyveConnPtr driver ATTRIBUTE_NONNULL) ^ bhyve/bhyve_driver.c:127:27: note: to match this '(' bhyveDriverGetCapabilities(bhyveConnPtr driver ATTRIBUTE_NONNULL) Pushed under the build breaker rule.
This commit is contained in:
parent
21ec87f4f1
commit
986a07c709
@ -123,8 +123,8 @@ bhyveAutostartDomains(bhyveConnPtr driver)
|
|||||||
*
|
*
|
||||||
* Returns: a reference to a virCapsPtr instance or NULL
|
* Returns: a reference to a virCapsPtr instance or NULL
|
||||||
*/
|
*/
|
||||||
static virCapsPtr
|
static virCapsPtr ATTRIBUTE_NONNULL(1)
|
||||||
bhyveDriverGetCapabilities(bhyveConnPtr driver ATTRIBUTE_NONNULL)
|
bhyveDriverGetCapabilities(bhyveConnPtr driver)
|
||||||
{
|
{
|
||||||
|
|
||||||
return virObjectRef(driver->caps);
|
return virObjectRef(driver->caps);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user