summaryrefslogtreecommitdiffstats
path: root/Modules/termios.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-09-14 13:32:22 (GMT)
committerGuido van Rossum <guido@python.org>1994-09-14 13:32:22 (GMT)
commit602099a7560ab65cd3e0fde9a3defc9e2beb9d87 (patch)
treedfc4b4549b3466e81bccd5ceac4bc25ae926089e /Modules/termios.c
parenta96720907a040a331f4a75c254a6172daa7273e7 (diff)
downloadcpython-602099a7560ab65cd3e0fde9a3defc9e2beb9d87.zip
cpython-602099a7560ab65cd3e0fde9a3defc9e2beb9d87.tar.gz
cpython-602099a7560ab65cd3e0fde9a3defc9e2beb9d87.tar.bz2
* various modules: #include "Python.h" and remove most remporary
renaming hacks
Diffstat (limited to 'Modules/termios.c')
-rw-r--r--Modules/termios.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/Modules/termios.c b/Modules/termios.c
index 50661a2..4148d85 100644
--- a/Modules/termios.c
+++ b/Modules/termios.c
@@ -1,24 +1,9 @@
/* termiosmodule.c -- POSIX terminal I/O module implementation. */
-#if 0
-#include <Py/Python.h>
-#else
-
-#include "allobjects.h"
-#include "pythonrun.h"
-#include "intrcheck.h"
-#include "modsupport.h"
-#include "sysmodule.h"
-
-#ifndef PyObject
-#define PyObject object
-typedef struct methodlist PyMethodDef;
-#endif
+#include <Python.h>
#define PyInit_termios inittermios
-#endif /* 0 */
-
#include <termios.h>
#define BAD "bad termios argument"