summaryrefslogtreecommitdiffstats
path: root/sal/osl/unx/process_impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/process_impl.cxx')
-rw-r--r--sal/osl/unx/process_impl.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index 35a5b90ece0d..fe7dc9db5ccf 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -140,6 +140,8 @@ oslProcessError bootstrap_getExecutableFile(rtl_uString ** ppFileURL)
#endif
+namespace {
+
struct CommandArgs_Impl
{
pthread_mutex_t m_mutex;
@@ -147,6 +149,8 @@ struct CommandArgs_Impl
rtl_uString ** m_ppArgs;
};
+}
+
static struct CommandArgs_Impl g_command_args =
{
PTHREAD_MUTEX_INITIALIZER,
@@ -409,12 +413,16 @@ oslProcessError SAL_CALL osl_getProcessWorkingDir(rtl_uString **ppustrWorkingDir
return result;
}
+namespace {
+
struct ProcessLocale_Impl
{
pthread_mutex_t m_mutex;
rtl_Locale * m_pLocale;
};
+}
+
static struct ProcessLocale_Impl g_process_locale =
{
PTHREAD_MUTEX_INITIALIZER,