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.