diff options
author | Pavel TvrdĂk <pawel.tvrdik@gmail.cz> | 2015-05-19 08:53:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-06-08 02:24:08 +0200 |
commit | ae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch) | |
tree | be0c9427556557ff5b06b0250bc64ff33062199e /nest/cli.c | |
parent | e348ef01b433e06888310c1098a05291034a856c (diff) |
unsigned [int] -> uint
Diffstat (limited to 'nest/cli.c')
-rw-r--r-- | nest/cli.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -163,7 +163,7 @@ static void cli_copy_message(cli *c) { byte *p, *q; - unsigned int cnt = 2; + uint cnt = 2; if (c->ring_overflow) { @@ -230,12 +230,12 @@ cli_written(cli *c) static byte *cli_rh_pos; -static unsigned int cli_rh_len; +static uint cli_rh_len; static int cli_rh_trick_flag; struct cli *this_cli; static int -cli_cmd_read_hook(byte *buf, unsigned int max, UNUSED int fd) +cli_cmd_read_hook(byte *buf, uint max, UNUSED int fd) { if (!cli_rh_trick_flag) { @@ -330,7 +330,7 @@ static list cli_log_hooks; static int cli_log_inited; void -cli_set_log_echo(cli *c, unsigned int mask, unsigned int size) +cli_set_log_echo(cli *c, uint mask, uint size) { if (c->ring_buf) { @@ -351,7 +351,7 @@ cli_set_log_echo(cli *c, unsigned int mask, unsigned int size) } void -cli_echo(unsigned int class, byte *msg) +cli_echo(uint class, byte *msg) { unsigned len, free, i, l; cli *c; |