Simplify deprecated declaration exception
authorViktor Dukhovni <openssl-users@dukhovni.org>
Fri, 8 Jan 2016 04:47:30 +0000 (23:47 -0500)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Fri, 8 Jan 2016 17:53:20 +0000 (12:53 -0500)
Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/crypto.h

index a85b02125300d9b157f5ca91d7de6deaa6dbb4ec..65f150ed6027e9b2294a11e86024bffa35f7740a 100644 (file)
@@ -431,13 +431,7 @@ int CRYPTO_THREADID_cmp(const CRYPTO_THREADID *a, const CRYPTO_THREADID *b);
 void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest, const CRYPTO_THREADID *src);
 unsigned long CRYPTO_THREADID_hash(const CRYPTO_THREADID *id);
 DEPRECATEDIN_1_0_0(void CRYPTO_set_id_callback(unsigned long (*func) (void)))
-/*
- * mkdef.pl cannot handle this next one so not inside DEPRECATEDIN_1_0_0,
- * but still conditional on a lower or unknown source API version.
- */
-# if OPENSSL_API_COMPAT < 0x10000000L
-unsigned long (*CRYPTO_get_id_callback(void)) (void);
-# endif
+DEPRECATEDIN_1_0_0(unsigned long (*CRYPTO_get_id_callback(void)) (void))
 DEPRECATEDIN_1_0_0(unsigned long CRYPTO_thread_id(void))
 
 const char *CRYPTO_get_lock_name(int type);