From 1e357dd30f1d716a6e25aec263a0005c094a88b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Thu, 7 Jul 2022 17:50:20 +0200 Subject: [PATCH] Fixed name collision. --- src/mx/system/environment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mx/system/environment.h b/src/mx/system/environment.h index 4611f0c..1cbfb72 100644 --- a/src/mx/system/environment.h +++ b/src/mx/system/environment.h @@ -20,7 +20,7 @@ public: Libc::Env *getenv() { return _env; } void setenv(Libc::Env *env) { _env = env; } - static void setenv(Libc::Env *env) { Environment::get_instance().setenv(env); } + static void set_env(Libc::Env *env) { Environment::get_instance().setenv(env); } static Environment& get_instance() { static Environment env; return env;