summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-09-14 13:59:04 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-09-16 11:22:17 +1000
commit35a1c3b6a585a33d79704f319b2806e93743b2bf (patch)
tree69daa013ba730203a831354b1f94a876979591dc /libs/pbd
parent5d9144173b4d07665242f7651e9a5a57c440b879 (diff)
Put functions inside anonymous namespace and use static for internal linkage
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/pbd/pbd.cc b/libs/pbd/pbd.cc
index 049e11f1c3..a4e4f6c9a3 100644
--- a/libs/pbd/pbd.cc
+++ b/libs/pbd/pbd.cc
@@ -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 ()
{