mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
vnc: avoid deprecation warnings for SASL on OS X
Apple has deprecated sasl.h functions in OS X 10.11. Therefore, all files that use SASL API need to disable -Wdeprecated-declarations. Remove the only use that is outside vnc-auth-sasl.c and add the relevant #pragma GCC diagnostic there. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210604120915.286195-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1ea06abcee
commit
b65310ab34
3 changed files with 23 additions and 8 deletions
|
@ -63,6 +63,7 @@ struct VncDisplaySASL {
|
|||
char *authzid;
|
||||
};
|
||||
|
||||
bool vnc_sasl_server_init(Error **errp);
|
||||
void vnc_sasl_client_cleanup(VncState *vs);
|
||||
|
||||
size_t vnc_client_read_sasl(VncState *vs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue