summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 20:43:26 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-08 20:44:53 +0100
commit0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980 (patch)
treedb39fd913f349a353a62ead250210aab49a8cc09 /eigrpd
parentMerge pull request #5924 from donaldsharp/more_func (diff)
downloadfrr-0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980.tar.xz
frr-0d6f7fd6fd9dcaa62fb77a10d3a1ad8d0d74f980.zip
*: Replace `sizeof something` to sizeof(something)
Satisfy checkpatch.pl requirements (check for sizeof without parenthesis) Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_routemap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c
index 99cc34d3d..e15f77795 100644
--- a/eigrpd/eigrp_routemap.c
+++ b/eigrpd/eigrp_routemap.c
@@ -295,7 +295,7 @@ static void *route_match_metric_compile(const char *arg)
{
// uint32_t *metric;
//
- // metric = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (uint32_t));
+ // metric = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof(uint32_t));
// *metric = atoi (arg);
//
// if(*metric > 0)
@@ -574,7 +574,7 @@ static void *route_match_tag_compile(const char *arg)
{
// unsigned short *tag;
//
- // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (unsigned short));
+ // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof(unsigned short));
// *tag = atoi (arg);
//
// return tag;
@@ -667,7 +667,7 @@ static void *route_set_metric_compile(const char *arg)
// return NULL;*/
//
// mod = XMALLOC (MTYPE_ROUTE_MAP_COMPILED,
- // sizeof (struct rip_metric_modifier));
+ // sizeof(struct rip_metric_modifier));
// mod->type = type;
// mod->metric = metric;
@@ -718,7 +718,7 @@ static void *route_set_ip_nexthop_compile(const char *arg)
// int ret;
// struct in_addr *address;
//
- // address = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (struct
+ // address = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof(struct
// in_addr));
//
// ret = inet_aton (arg, address);
@@ -775,7 +775,7 @@ static void *route_set_tag_compile(const char *arg)
{
// unsigned short *tag;
//
- // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (unsigned short));
+ // tag = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof(unsigned short));
// *tag = atoi (arg);
//
// return tag;