From 240a2c89e8156a383e42f5242bf2fae863096cff Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 30 Nov 2009 16:34:13 +0000 Subject: [PATCH] Removed no longer needed gInitializationLock. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34385 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/app/AppMisc.h | 3 --- src/kits/app/AppMisc.cpp | 2 -- 2 files changed, 5 deletions(-) diff --git a/headers/private/app/AppMisc.h b/headers/private/app/AppMisc.h index 89a7347e3e..ad4a30d621 100644 --- a/headers/private/app/AppMisc.h +++ b/headers/private/app/AppMisc.h @@ -16,9 +16,6 @@ struct entry_ref; namespace BPrivate { -// Global lock that can be used e.g. to initialize singletons. -extern BLocker gInitializationLock; - status_t get_app_path(team_id team, char *buffer); status_t get_app_path(char *buffer); status_t get_app_ref(team_id team, entry_ref *ref, bool traverse = true); diff --git a/src/kits/app/AppMisc.cpp b/src/kits/app/AppMisc.cpp index 1156d8a4ea..b5d7fa47a1 100644 --- a/src/kits/app/AppMisc.cpp +++ b/src/kits/app/AppMisc.cpp @@ -18,8 +18,6 @@ namespace BPrivate { -BLocker gInitializationLock("global init lock"); - /*! \brief Returns the path to an application's executable. \param team The application's team ID.