mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
rpc: fix non-NULL annotations when GNUTLS is disabled
The position of various parameters changes depending on the WITH_GNUTLS macro. Reviewed-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
17398ccef3
commit
1b9fe756ec
@ -73,7 +73,11 @@ virNetServerClientPtr virNetServerClientNew(unsigned long long id,
|
||||
virNetServerClientPrivPreExecRestart privPreExecRestart,
|
||||
virFreeCallback privFree,
|
||||
void *privOpaque)
|
||||
# ifdef WITH_GNUTLS
|
||||
ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(7) ATTRIBUTE_NONNULL(9);
|
||||
# else
|
||||
ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(6) ATTRIBUTE_NONNULL(8);
|
||||
# endif
|
||||
|
||||
virNetServerClientPtr virNetServerClientNewPostExecRestart(virNetServerPtr srv,
|
||||
virJSONValuePtr object,
|
||||
|
Loading…
Reference in New Issue
Block a user