]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cssm/lib/cssmcspi.h
Security-59306.61.1.tar.gz
[apple/security.git] / OSX / libsecurity_cssm / lib / cssmcspi.h
index 44c9ecee6f29367fd6a86ea37f19e841ebbc5b5a..d828582bba5aa8813f232f4937d8812f27cfccff 100644 (file)
 extern "C" {
 #endif
 
-typedef struct cssm_spi_csp_funcs {
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+
+typedef struct DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER cssm_spi_csp_funcs {
     CSSM_RETURN (CSSMCSPI *EventNotify)
         (CSSM_CSP_HANDLE CSPHandle,
          CSSM_CONTEXT_EVENT Event,
@@ -360,6 +363,8 @@ typedef struct cssm_spi_csp_funcs {
          const CSSM_ACL_OWNER_PROTOTYPE *NewOwner);
 } CSSM_SPI_CSP_FUNCS DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER, *CSSM_SPI_CSP_FUNCS_PTR DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
 
+#pragma clang diagnostic pop
+
 #ifdef __cplusplus
 }
 #endif