From ed94aa5058c0c4c99723dbd86a14d67172df015a Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 3 Sep 2022 10:54:42 +0100 Subject: [PATCH] Remove spurious 'const' on return types. --- ssh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh.h b/ssh.h index e447665b..5ecef0cb 100644 --- a/ssh.h +++ b/ssh.h @@ -939,9 +939,9 @@ static inline const char *ssh_key_ssh_id(ssh_key *key) { return key->vt->ssh_id; } static inline const char *ssh_key_cache_id(ssh_key *key) { return key->vt->cache_id; } -static inline const unsigned ssh_key_supported_flags(ssh_key *key) +static inline unsigned ssh_key_supported_flags(ssh_key *key) { return key->vt->supported_flags(key->vt); } -static inline const unsigned ssh_keyalg_supported_flags(const ssh_keyalg *self) +static inline unsigned ssh_keyalg_supported_flags(const ssh_keyalg *self) { return self->supported_flags(self); } static inline const char *ssh_keyalg_alternate_ssh_id( const ssh_keyalg *self, unsigned flags)