Skip to content

Commit

Permalink
add static to a local function.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Nov 15, 2014
1 parent 7fdc1ee commit b1160fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.cpp
Expand Up @@ -2337,7 +2337,7 @@ void server::process_data_lobby(const network::connection sock,
}


size_t count_sides(const simple_wml::node& scenario)
static size_t count_sides(const simple_wml::node& scenario)
{
return wesnothd::game::starting_pos(scenario)->children("side").size();
}
Expand Down

0 comments on commit b1160fe

Please sign in to comment.