mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Everywhere: Replace AK::Singleton => Singleton
This commit is contained in:
parent
eb60cb156d
commit
c94c15d45c
35 changed files with 40 additions and 40 deletions
|
@ -25,7 +25,7 @@ DevPtsFS::~DevPtsFS()
|
|||
{
|
||||
}
|
||||
|
||||
static AK::Singleton<HashTable<unsigned>> s_ptys;
|
||||
static Singleton<HashTable<unsigned>> s_ptys;
|
||||
|
||||
bool DevPtsFS::initialize()
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<ProtectedValue<HashTable<FIFO*>>> s_table;
|
||||
static Singleton<ProtectedValue<HashTable<FIFO*>>> s_table;
|
||||
|
||||
static ProtectedValue<HashTable<FIFO*>>& all_fifos()
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
namespace Kernel {
|
||||
|
||||
static u32 s_lastFileSystemID;
|
||||
static AK::Singleton<HashMap<u32, FileSystem*>> s_file_system_map;
|
||||
static Singleton<HashMap<u32, FileSystem*>> s_file_system_map;
|
||||
|
||||
static HashMap<u32, FileSystem*>& all_file_systems()
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
namespace Kernel {
|
||||
|
||||
static SpinLock s_all_inodes_lock;
|
||||
static AK::Singleton<Inode::List> s_list;
|
||||
static Singleton<Inode::List> s_list;
|
||||
|
||||
static Inode::List& all_with_lock()
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<ProcFSComponentRegistry> s_the;
|
||||
static Singleton<ProcFSComponentRegistry> s_the;
|
||||
|
||||
ProcFSComponentRegistry& ProcFSComponentRegistry::the()
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<SysFSComponentRegistry> s_the;
|
||||
static Singleton<SysFSComponentRegistry> s_the;
|
||||
|
||||
SysFSComponentRegistry& SysFSComponentRegistry::the()
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static AK::Singleton<VirtualFileSystem> s_the;
|
||||
static Singleton<VirtualFileSystem> s_the;
|
||||
static constexpr int symlink_recursion_limit { 5 }; // FIXME: increase?
|
||||
static constexpr int root_mount_flags = MS_NODEV | MS_NOSUID | MS_RDONLY;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue