[Python-checkins] CVS: python/dist/src/Modules _cursesmodule.c,2.28,2.29

A.M. Kuchling python-dev@python.org
Thu, 6 Jul 2000 11:14:09 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv2452

Modified Files:
	_cursesmodule.c 
Log Message:
Removed unused variables.
Added two functions that were left out of the method definition table.


Index: _cursesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -r2.28 -r2.29
*** _cursesmodule.c	2000/06/27 21:49:47	2.28
--- _cursesmodule.c	2000/07/06 18:14:03	2.29
***************
*** 1644,1648 ****
       PyObject *args;
  {
- 	int rtn;
  	MEVENT event;
  
--- 1644,1647 ----
***************
*** 1948,1952 ****
       PyObject * arg;
  {
! 	int newmask, rtn;
  	mmask_t oldmask, availmask;
  
--- 1947,1951 ----
       PyObject * arg;
  {
! 	int newmask;
  	mmask_t oldmask, availmask;
  
***************
*** 2160,2164 ****
       PyObject * arg;
  {
!   int fd, err;
  
    PyCursesInitialised
--- 2159,2163 ----
       PyObject * arg;
  {
!   int fd;
  
    PyCursesInitialised
***************
*** 2303,2306 ****
--- 2302,2307 ----
    {"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},