summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-01-17 14:19:44 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-01-17 14:19:44 (GMT)
commitce59c04127cb82127e247f5e986b07cbb6c39c61 (patch)
tree75b910d56a7b8f039e99c2cf6156c061124ef1e8 /Objects
parent09de7567269af82164ec7dd0c5edf3ec6d1b7502 (diff)
downloadcpython-ce59c04127cb82127e247f5e986b07cbb6c39c61.zip
cpython-ce59c04127cb82127e247f5e986b07cbb6c39c61.tar.gz
cpython-ce59c04127cb82127e247f5e986b07cbb6c39c61.tar.bz2
Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
Diffstat (limited to 'Objects')
-rw-r--r--Objects/floatobject.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 66461a8..7476ac7 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -13,16 +13,6 @@ extern double fmod(double, double);
extern double pow(double, double);
#endif
-#if defined(sun) && !defined(__SVR4)
-/* On SunOS4.1 only libm.a exists. Make sure that references to all
- needed math functions exist in the executable, so that dynamic
- loading of mathmodule does not fail. */
-double (*_Py_math_funcs_hack[])() = {
- acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor,
- fmod, log, log10, pow, sin, sinh, sqrt, tan, tanh
-};
-#endif
-
/* Special free list -- see comments for same code in intobject.c. */
#define BLOCK_SIZE 1000 /* 1K less typical malloc overhead */
#define BHEAD_SIZE 8 /* Enough for a 64-bit pointer */