[Python-checkins] CVS: python/dist/src/Modules nismodule.c,2.20,2.21

Thomas Wouters twouters@users.sourceforge.net
Sun, 21 Jan 2001 15:34:14 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9601/Modules

Modified Files:
	nismodule.c 
Log Message:

Move declaration of 'clnt_create()' NIS function to pyport.h, as it's
supposed to be declared in system include files (with a proper prototype.)
Should be moved to a platform-specific block if anyone finds out which
broken platforms need it :-)



Index: nismodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/nismodule.c,v
retrieving revision 2.20
retrieving revision 2.21
diff -C2 -r2.20 -r2.21
*** nismodule.c	2000/07/22 23:57:55	2.20
--- nismodule.c	2001/01/21 23:34:12	2.21
***************
*** 300,304 ****
  	nisresp_maplist *list;
  	char *dom;
! 	CLIENT *cl, *clnt_create();
  	char *server = NULL;
  	int mapi = 0;
--- 300,304 ----
  	nisresp_maplist *list;
  	char *dom;
! 	CLIENT *cl;
  	char *server = NULL;
  	int mapi = 0;