diff options
author | François Perrad <francois.perrad@gadz.org> | 2018-02-17 04:27:37 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-17 11:27:37 +0800 |
commit | f042eb41ab0d31f8ba0c5ccc9c848ad01f08f986 (patch) | |
tree | 45e219d5970f8756c756f9bcc01d6197d765abb5 /channel.h | |
parent | 017e2f07a772998c4a5564f81b834390ad681570 (diff) |
more linting (#55)
* dropbear_exit: remove priority parameter
confusion with dropbear_log()
* const parameter
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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*); }; |