diff options
author | Guido van Rossum <guido@python.org> | 1995-03-09 12:14:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-09 12:14:15 (GMT) |
commit | a320fd308c9c8ac4775f83d2b8edb9af90192741 (patch) | |
tree | 20841aeb0007baa8fa987efd6f0499baab36b8fd /Modules/rotormodule.c | |
parent | b6fe7048e710db1678db53c0b088f43abdb8c95f (diff) | |
download | cpython-a320fd308c9c8ac4775f83d2b8edb9af90192741.zip cpython-a320fd308c9c8ac4775f83d2b8edb9af90192741.tar.gz cpython-a320fd308c9c8ac4775f83d2b8edb9af90192741.tar.bz2 |
changes for MPW
Diffstat (limited to 'Modules/rotormodule.c')
-rw-r--r-- | Modules/rotormodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c index 60d9257..6988f88 100644 --- a/Modules/rotormodule.c +++ b/Modules/rotormodule.c @@ -57,7 +57,7 @@ NOTE: you MUST use the SAME key in rotor.newrotor() #include "Python.h" -#include <math.h> +#include "mymath.h" #define TRUE 1 #define FALSE 0 @@ -755,7 +755,7 @@ PyRotor_GetAttr(s, name) return Py_FindMethod(PyRotor_Methods, (PyObject * ) s, name); } -static PyTypeObject PyRotor_Type = { +statichere PyTypeObject PyRotor_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ "rotor", /*tp_name*/ |