Skip to content

Commit

Permalink
route: Remove stray ; at top-level
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelforney authored and thom311 committed Aug 16, 2019
1 parent 24e5b31 commit bca4ac5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/route/classid.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,11 @@ static void __init classid_init(void)
NL_DBG(1, "Failed to read classid file: %s\n", nl_geterror(err));
}

static void free_map(void *map) {
static void free_map(void *map)
{
free(((struct classid_map *)map)->name);
free(map);
};
}

static void __exit classid_exit(void)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/route/route_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static void __init init_routing_table_names(void)
add_routing_table_name(RT_TABLE_DEFAULT, "default");
add_routing_table_name(RT_TABLE_MAIN, "main");
add_routing_table_name(RT_TABLE_LOCAL, "local");
};
}

static void __exit release_routing_table_names(void)
{
Expand Down Expand Up @@ -109,7 +109,7 @@ static void __init init_proto_names(void)
add_proto_name(RTPROT_KERNEL, "kernel");
add_proto_name(RTPROT_BOOT, "boot");
add_proto_name(RTPROT_STATIC, "static");
};
}

static void __exit release_proto_names(void)
{
Expand Down

0 comments on commit bca4ac5

Please sign in to comment.