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/proto.c | |
parent | e348ef01b433e06888310c1098a05291034a856c (diff) |
unsigned [int] -> uint
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nest/proto.c b/nest/proto.c index 44cfb637..6531083c 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1488,7 +1488,7 @@ proto_show_basic_info(struct proto *p) } void -proto_cmd_show(struct proto *p, unsigned int verbose, int cnt) +proto_cmd_show(struct proto *p, uint verbose, int cnt) { byte buf[256], tbuf[TM_DATETIME_BUFFER_SIZE]; @@ -1524,7 +1524,7 @@ proto_cmd_show(struct proto *p, unsigned int verbose, int cnt) } void -proto_cmd_disable(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED) +proto_cmd_disable(struct proto *p, uint arg UNUSED, int cnt UNUSED) { if (p->disabled) { @@ -1540,7 +1540,7 @@ proto_cmd_disable(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED) } void -proto_cmd_enable(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED) +proto_cmd_enable(struct proto *p, uint arg UNUSED, int cnt UNUSED) { if (!p->disabled) { @@ -1555,7 +1555,7 @@ proto_cmd_enable(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED) } void -proto_cmd_restart(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED) +proto_cmd_restart(struct proto *p, uint arg UNUSED, int cnt UNUSED) { if (p->disabled) { @@ -1573,7 +1573,7 @@ proto_cmd_restart(struct proto *p, unsigned int arg UNUSED, int cnt UNUSED) } void -proto_cmd_reload(struct proto *p, unsigned int dir, int cnt UNUSED) +proto_cmd_reload(struct proto *p, uint dir, int cnt UNUSED) { if (p->disabled) { @@ -1615,19 +1615,19 @@ proto_cmd_reload(struct proto *p, unsigned int dir, int cnt UNUSED) } void -proto_cmd_debug(struct proto *p, unsigned int mask, int cnt UNUSED) +proto_cmd_debug(struct proto *p, uint mask, int cnt UNUSED) { p->debug = mask; } void -proto_cmd_mrtdump(struct proto *p, unsigned int mask, int cnt UNUSED) +proto_cmd_mrtdump(struct proto *p, uint mask, int cnt UNUSED) { p->mrtdump = mask; } static void -proto_apply_cmd_symbol(struct symbol *s, void (* cmd)(struct proto *, unsigned int, int), unsigned int arg) +proto_apply_cmd_symbol(struct symbol *s, void (* cmd)(struct proto *, uint, int), uint arg) { if (s->class != SYM_PROTO) { @@ -1640,7 +1640,7 @@ proto_apply_cmd_symbol(struct symbol *s, void (* cmd)(struct proto *, unsigned i } static void -proto_apply_cmd_patt(char *patt, void (* cmd)(struct proto *, unsigned int, int), unsigned int arg) +proto_apply_cmd_patt(char *patt, void (* cmd)(struct proto *, uint, int), uint arg) { int cnt = 0; @@ -1660,8 +1660,8 @@ proto_apply_cmd_patt(char *patt, void (* cmd)(struct proto *, unsigned int, int) } void -proto_apply_cmd(struct proto_spec ps, void (* cmd)(struct proto *, unsigned int, int), - int restricted, unsigned int arg) +proto_apply_cmd(struct proto_spec ps, void (* cmd)(struct proto *, uint, int), + int restricted, uint arg) { if (restricted && cli_access_restricted()) return; |