From 3f7971b7d284b5411ce918446c3be52d9698169a Mon Sep 17 00:00:00 2001 From: LC Date: Mon, 27 Jul 2026 13:56:51 -0400 Subject: [PATCH] Config: Mark internally linked where applicable Makes it obvious these aren't supposed to be exposed. --- Source/Common/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Common/Config.cpp b/Source/Common/Config.cpp index 9062990b6..45cbe449d 100644 --- a/Source/Common/Config.cpp +++ b/Source/Common/Config.cpp @@ -367,7 +367,7 @@ fextl::unique_ptr CreateEnvironmentLayer(char* const _en return fextl::make_unique(_envp); } -fextl::string RecoverGuestProgramFilename(fextl::string Program, bool ExecFDInterp, int ProgramFDFromEnv) { +static fextl::string RecoverGuestProgramFilename(fextl::string Program, bool ExecFDInterp, int ProgramFDFromEnv) { // If executed with a FEX FD then the Program argument might be empty. // In this case we need to scan the FD node to recover the application binary that exists on disk. // Only do this if the Program argument is empty, since we would prefer the application's expectation @@ -525,7 +525,7 @@ void LoadConfig(fextl::string ProgramName, char** const envp, const PortableInfo } #ifndef _WIN32 -fextl::string FindUserHomeThroughUID() { +static fextl::string FindUserHomeThroughUID() { // `getpwuid` allocates memory, parse `/etc/passwd` manually. // Format is trivial: `::::::`