about summary refs log tree commit diff stats
path: root/src/tools/env.c
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-08-21 22:55:10 +0800
committerGitHub <noreply@github.com>2025-08-21 16:55:10 +0200
commit34e789484a6177e2b9eff4ccf3f677a9ae82b273 (patch)
treea71d4acf8115e991f5009e6db4300f138ee07718 /src/tools/env.c
parent6a6af076dd120bbc0056a963548fd563243204a6 (diff)
downloadbox64-34e789484a6177e2b9eff4ccf3f677a9ae82b273.tar.gz
box64-34e789484a6177e2b9eff4ccf3f677a9ae82b273.zip
[CORE] Better trace_file logging (#2958)
Diffstat (limited to 'src/tools/env.c')
-rw-r--r--src/tools/env.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/env.c b/src/tools/env.c
index 3fc1babd..25134089 100644
--- a/src/tools/env.c
+++ b/src/tools/env.c
@@ -475,11 +475,6 @@ void InitializeEnvFiles()
     }
 }
 
-static char old_entryname[256] = "";
-const char* GetLastApplyEntryName()
-{
-    return old_entryname;
-}
 static void internalApplyEnvFileEntry(const char* entryname, const box64env_t* env)
 {
 #define INTEGER(NAME, name, default, min, max, wine) \
@@ -520,6 +515,7 @@ static void internalApplyEnvFileEntry(const char* entryname, const box64env_t* e
 #undef STRING
 }
 
+static char old_entryname[256] = "";
 void ApplyEnvFileEntry(const char* entryname)
 {
     if (!entryname || !box64env_entries) return;