summaryrefslogtreecommitdiffstats
path: root/PC/os2emx
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-12-31 11:20:37 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2002-12-31 11:20:37 (GMT)
commit7c90a8950a1c65138a5fa0a0c06bf124d7ccfa5e (patch)
treeb9a5bc26335578433be5b83bb32faa9dbfdf316e /PC/os2emx
parent978697bf0368f89bb5e5e89684219a8ee10833f6 (diff)
downloadcpython-7c90a8950a1c65138a5fa0a0c06bf124d7ccfa5e.zip
cpython-7c90a8950a1c65138a5fa0a0c06bf124d7ccfa5e.tar.gz
cpython-7c90a8950a1c65138a5fa0a0c06bf124d7ccfa5e.tar.bz2
getenv() replacement not required
Diffstat (limited to 'PC/os2emx')
-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;
-}