mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Mark unused parameters.
This commit is contained in:
@@ -47,8 +47,9 @@ static char backend_version[256] = "OpenSSL";
|
||||
|
||||
#define MAX_THREADS 8
|
||||
#if !HAVE_DECL_OSSL_GET_MAX_THREADS
|
||||
static int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) { return 0; }
|
||||
static uint64_t OSSL_get_max_threads(OSSL_LIB_CTX *ctx) { return 0; }
|
||||
static int OSSL_set_max_threads(OSSL_LIB_CTX *ctx __attribute__((unused)),
|
||||
uint64_t max_threads __attribute__((unused))) { return 0; }
|
||||
static uint64_t OSSL_get_max_threads(OSSL_LIB_CTX *ctx __attribute__((unused))) { return 0; }
|
||||
#else
|
||||
#include <openssl/thread.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user