From 89e64c631ec8dee41ec4de888548d36887b6ec98 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 19 Aug 2017 17:16:13 +0200 Subject: Pointer parameter could be declared as pointing to const --- auth.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth.h') diff --git a/auth.h b/auth.h index fb3a754..2c70b1d 100644 --- a/auth.h +++ b/auth.h @@ -36,7 +36,7 @@ void cli_authinitialise(void); void recv_msg_userauth_request(void); void send_msg_userauth_failure(int partial, int incrfail); void send_msg_userauth_success(void); -void send_msg_userauth_banner(buffer *msg); +void send_msg_userauth_banner(const buffer *msg); void svr_auth_password(void); void svr_auth_pubkey(void); void svr_auth_pam(void); @@ -74,7 +74,7 @@ void cli_pubkeyfail(void); void cli_auth_password(void); int cli_auth_pubkey(void); void cli_auth_interactive(void); -char* getpass_or_cancel(char* prompt); +char* getpass_or_cancel(const char* prompt); void cli_auth_pubkey_cleanup(void); -- cgit v1.2.3