mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
unsigned [int] -> uint
This commit is contained in:
committed by
Ondrej Zajicek
parent
e348ef01b4
commit
ae80a2de95
10
nest/cli.c
10
nest/cli.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user