summaryrefslogtreecommitdiffstats
path: root/Modules/_cursesmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-05-16 20:29:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-05-16 20:29:44 (GMT)
commit18b71916531f6b235993aaeaedfb7176b4658aa9 (patch)
tree58a692dc02942feb470d2fdf658b1b2d92a50a09 /Modules/_cursesmodule.c
parent2502ebf9c99df1883b49aa71f7b6494e70938603 (diff)
downloadcpython-18b71916531f6b235993aaeaedfb7176b4658aa9.zip
cpython-18b71916531f6b235993aaeaedfb7176b4658aa9.tar.gz
cpython-18b71916531f6b235993aaeaedfb7176b4658aa9.tar.bz2
C89 declaration compliance
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r--Modules/_cursesmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 8436f03..132670d 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -2261,9 +2261,9 @@ PyCurses_GetWin(PyCursesWindowObject *self, PyObject *stream)
PyObject *data;
size_t datalen;
WINDOW *win;
+ _Py_IDENTIFIER(read);
PyCursesInitialised;
- _Py_IDENTIFIER(read);
strcpy(fn, "/tmp/py.curses.getwin.XXXXXX");
fd = mkstemp(fn);