summaryrefslogtreecommitdiffhomepage
path: root/channel.h
diff options
context:
space:
mode:
authorFrançois Perrad <francois.perrad@gadz.org>2018-02-17 04:27:37 +0100
committerMatt Johnston <matt@ucc.asn.au>2018-02-17 11:27:37 +0800
commitf042eb41ab0d31f8ba0c5ccc9c848ad01f08f986 (patch)
tree45e219d5970f8756c756f9bcc01d6197d765abb5 /channel.h
parent017e2f07a772998c4a5564f81b834390ad681570 (diff)
more linting (#55)
* dropbear_exit: remove priority parameter confusion with dropbear_log() * const parameter
Diffstat (limited to 'channel.h')
-rw-r--r--channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.h b/channel.h
index 8736fbe..c6c4fda 100644
--- a/channel.h
+++ b/channel.h
@@ -94,9 +94,9 @@ struct Channel {
struct ChanType {
int sepfds; /* Whether this channel has separate pipes for in/out or not */
- char *name;
+ const char *name;
int (*inithandler)(struct Channel*);
- int (*check_close)(struct Channel*);
+ int (*check_close)(const struct Channel*);
void (*reqhandler)(struct Channel*);
void (*closehandler)(const struct Channel*);
};