mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
gcc 11 cleanup
Compiling with gcc 11.1.0 produces three new warnings. Change the code slightly to avoid them. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Signed-off-by: Attila Fülöp <attila@fueloep.org> Closes #12130 Closes #12188 Closes #12237
This commit is contained in:
committed by
Brian Behlendorf
parent
e0886c96a8
commit
088712793e
@@ -58,7 +58,7 @@ typedef struct {
|
||||
*/
|
||||
|
||||
#define CRYPTO_MECH_INVALID ((uint64_t)-1)
|
||||
extern crypto_mech_type_t crypto_mech2id(crypto_mech_name_t name);
|
||||
extern crypto_mech_type_t crypto_mech2id(char *name);
|
||||
|
||||
/*
|
||||
* Create and destroy context templates.
|
||||
|
||||
Reference in New Issue
Block a user