From b65310ab34cbada47a5570c94d6f8f5efd39d171 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 4 Jun 2021 14:09:15 +0200 Subject: 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 Message-Id: <20210604120915.286195-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini --- ui/vnc-auth-sasl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/vnc-auth-sasl.h') diff --git a/ui/vnc-auth-sasl.h b/ui/vnc-auth-sasl.h index 1bfb86c6f5..367b8672cc 100644 --- a/ui/vnc-auth-sasl.h +++ b/ui/vnc-auth-sasl.h @@ -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); -- cgit 1.4.1