Since the code checks and handles NULL parameters, remove the NONNULL
from the prototype.
Also fix the comment in the source to reference the right name.
Signed-off-by: John Ferlan <jferlan@redhat.com>
}
/**
- * virNetDevBandwidthDefFormat:
+ * virNetDevBandwidthFormat:
* @def: Data source
* @buf: Buffer to print to
*
int net_type)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_RETURN_CHECK;
int virNetDevBandwidthFormat(virNetDevBandwidthPtr def,
- virBufferPtr buf)
- ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
+ virBufferPtr buf);
void virDomainClearNetBandwidth(virDomainObjPtr vm)
ATTRIBUTE_NONNULL(1);