summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/os2emx/dllentry.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/PC/os2emx/dllentry.c b/PC/os2emx/dllentry.c
index 511c3d9..ca3081d 100644
--- a/PC/os2emx/dllentry.c
+++ b/PC/os2emx/dllentry.c
@@ -10,8 +10,6 @@
REF (Py_Main);
-#if defined (__EMX__)
-
#include <signal.h>
extern int _CRT_init (void);
@@ -38,17 +36,3 @@ unsigned long _DLL_InitTerm (unsigned long mod_handle, unsigned long flag)
return 0;
}
}
-
-#endif
-
-/* A version of getenv() that works from DLLs */
-extern int DosScanEnv (const char *pszName, char **ppszValue);
-
-char *getenv (const char *name)
-{
- char *value;
- if (DosScanEnv (name, &value))
- return NULL;
- else
- return value;
-}