Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
This commit is contained in:
@@ -462,7 +462,7 @@ static struct method_t methods6[] = {
|
||||
{ "loopback", loopback_up6, loopback_down6, },
|
||||
};
|
||||
|
||||
struct address_family_t addr_inet6 = {
|
||||
static struct address_family_t addr_inet6 = {
|
||||
"inet6",
|
||||
sizeof(methods6) / sizeof(struct method_t),
|
||||
methods6
|
||||
@@ -611,7 +611,7 @@ static struct method_t methods[] =
|
||||
{ "loopback", loopback_up, loopback_down, },
|
||||
};
|
||||
|
||||
struct address_family_t addr_inet =
|
||||
static struct address_family_t addr_inet =
|
||||
{
|
||||
"inet",
|
||||
sizeof(methods) / sizeof(struct method_t),
|
||||
|
Reference in New Issue
Block a user