libcamera: process: Move closeAllFdsExcept()

Remove `closeAllFdsExcept()` from the `Process` class and have it as a
local function since it is not needed "outside" and does not depend on
any part of the `Process` class.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Barnabás Pőcze
2025-01-22 12:40:29 +01:00
parent b43691af94
commit d44ec357d2
2 changed files with 27 additions and 28 deletions
-1
View File
@@ -45,7 +45,6 @@ public:
private:
LIBCAMERA_DISABLE_COPY_AND_MOVE(Process)
void closeAllFdsExcept(std::vector<int> v);
int isolate();
void died(int wstatus);