13
0

Put functions inside anonymous namespace and use static for internal linkage

This commit is contained in:
Tim Mayberry 2015-09-14 13:59:04 +10:00
parent 5d9144173b
commit 35a1c3b6a5

View File

@ -50,8 +50,7 @@ namespace {
static bool libpbd_initialized = false;
}
static
void
set_debug_options_from_env ()
{
@ -66,6 +65,7 @@ set_debug_options_from_env ()
}
#ifdef PLATFORM_WINDOWS
static
void
test_timers_from_env ()
{
@ -83,6 +83,8 @@ test_timers_from_env ()
}
#endif
} // namespace
bool
PBD::init ()
{