Config: Mark internally linked where applicable

Makes it obvious these aren't supposed to be exposed.
This commit is contained in:
LC committed 2026-07-27 13:56:53 -04:00
1 parent 2cbd5cb3e6
commit 3f7971b7d2
1 file changed
+2 -2
+2 -2
View File
@@ -367,7 +367,7 @@ fextl::unique_ptr<FEXCore::Config::Layer> CreateEnvironmentLayer(char* const _en
return fextl::make_unique<EnvLoader>(_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: `<name>:<password hash>:<uid>:<gid>:<comment>:<home>:<shell>`