summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/sys_unix.c16
-rw-r--r--src/sys/sys_win32.c15
2 files changed, 0 insertions, 31 deletions
diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c
index 3caed9fd..f3dd0406 100644
--- a/src/sys/sys_unix.c
+++ b/src/sys/sys_unix.c
@@ -812,22 +812,6 @@ void Sys_PlatformExit( void )
/*
==============
-Sys_SetEnv
-
-set/unset environment variables (empty value removes it)
-==============
-*/
-
-void Sys_SetEnv(const char *name, const char *value)
-{
- if(value && *value)
- setenv(name, value, 1);
- else
- unsetenv(name);
-}
-
-/*
-==============
Sys_PID
==============
*/
diff --git a/src/sys/sys_win32.c b/src/sys/sys_win32.c
index fb0f51a7..635b157f 100644
--- a/src/sys/sys_win32.c
+++ b/src/sys/sys_win32.c
@@ -686,21 +686,6 @@ void Sys_PlatformExit( void )
/*
==============
-Sys_SetEnv
-
-set/unset environment variables (empty value removes it)
-==============
-*/
-void Sys_SetEnv(const char *name, const char *value)
-{
- if(value)
- _putenv(va("%s=%s", name, value));
- else
- _putenv(va("%s=", name));
-}
-
-/*
-==============
Sys_PID
==============
*/