From 63300b49f30b3d63a551d4d568ae95fea24035ba 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 --- agentfwd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'agentfwd.h') diff --git a/agentfwd.h b/agentfwd.h index 57bb55a..eb12d7a 100644 --- a/agentfwd.h +++ b/agentfwd.h @@ -40,8 +40,8 @@ /* client functions */ void cli_load_agent_keys(m_list * ret_list); void agent_buf_sign(buffer *sigblob, sign_key *key, - buffer *data_buf); -void cli_setup_agent(struct Channel *channel); + const buffer *data_buf); +void cli_setup_agent(const struct Channel *channel); #ifdef __hpux #define seteuid(a) setresuid(-1, (a), -1) @@ -56,7 +56,7 @@ extern const struct ChanType cli_chan_agent; int svr_agentreq(struct ChanSess * chansess); void svr_agentcleanup(struct ChanSess * chansess); -void svr_agentset(struct ChanSess *chansess); +void svr_agentset(const struct ChanSess *chansess); #endif /* DROPBEAR_SVR_AGENTFWD */ -- cgit v1.2.1