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:
parent
358a7cc448
commit
c1143e1bae
3 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue