diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-07-06 18:14:03 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-07-06 18:14:03 (GMT) |
commit | 1a10400692afe196add8253874f58cf6961c2f4c (patch) | |
tree | 6507b2b83183b7f7aa5dd37abd8f0b7b8eda9b45 /Modules/_cursesmodule.c | |
parent | 29fa30ea6ba2db9d28c62c96369e3b503375de58 (diff) | |
download | cpython-1a10400692afe196add8253874f58cf6961c2f4c.zip cpython-1a10400692afe196add8253874f58cf6961c2f4c.tar.gz cpython-1a10400692afe196add8253874f58cf6961c2f4c.tar.bz2 |
Removed unused variables.
Added two functions that were left out of the method definition table.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 572767c..f98f12e 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -1643,7 +1643,6 @@ PyCurses_UngetMouse(self,args) PyObject *self; PyObject *args; { - int rtn; MEVENT event; PyCursesInitialised @@ -1947,7 +1946,7 @@ PyCurses_MouseMask(self,arg) PyObject * self; PyObject * arg; { - int newmask, rtn; + int newmask; mmask_t oldmask, availmask; PyCursesInitialised @@ -2159,7 +2158,7 @@ PyCurses_TypeAhead(self,arg) PyObject * self; PyObject * arg; { - int fd, err; + int fd; PyCursesInitialised @@ -2302,6 +2301,8 @@ static PyMethodDef PyCurses_methods[] = { {"raw", (PyCFunction)PyCurses_raw}, {"reset_prog_mode", (PyCFunction)PyCurses_reset_prog_mode}, {"reset_shell_mode", (PyCFunction)PyCurses_reset_shell_mode}, + {"resetty", (PyCFunction)PyCurses_resetty}, + {"savetty", (PyCFunction)PyCurses_savetty}, {"setsyx", (PyCFunction)PyCurses_setsyx}, {"start_color", (PyCFunction)PyCurses_Start_Color}, {"termattrs", (PyCFunction)PyCurses_termattrs}, |