Mercurial > dropbear
diff channel.h @ 1508:47f36d8565cf
more linting (#55)
* dropbear_exit: remove priority parameter
confusion with dropbear_log()
* const parameter
author | François Perrad <francois.perrad@gadz.org> |
---|---|
date | Sat, 17 Feb 2018 04:27:37 +0100 |
parents | 58a74cb829b8 |
children | 79eef94ccea9 |
line wrap: on
line diff
--- a/channel.h Fri Feb 16 19:35:32 2018 +0400 +++ b/channel.h Sat Feb 17 04:27:37 2018 +0100 @@ -94,9 +94,9 @@ 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*); };