1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00

Kernel: Remove friend classes from ProcFSComponentsRegistrar

This commit is contained in:
Andreas Kling 2021-07-11 01:39:51 +02:00
parent 358a7cc448
commit c1143e1bae
3 changed files with 3 additions and 7 deletions

View file

@ -29,11 +29,6 @@ class ProcFSBusDirectory;
class ProcFSSystemBoolean;
class ProcFSComponentsRegistrar {
friend class ProcFS;
friend class ProcFSExposedComponent;
friend class ProcFSExposedDirectory;
friend class ProcFSRootDirectory;
public:
static ProcFSComponentsRegistrar& the();
@ -50,6 +45,7 @@ public:
void unregister_process(Process&);
ProcFSRootDirectory& root_folder() { return *m_root_folder; }
Lock& get_lock() { return m_lock; }
private:
Lock m_lock;