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 :-)
This commit is contained in:
Thomas Wouters 2001-01-21 23:34:12 +00:00
parent b2dfd73bdc
commit e75e6d06d2
2 changed files with 4 additions and 1 deletions

View File

@ -266,6 +266,9 @@ extern int lstat(const char *, struct stat *);
extern int symlink(const char *, const char *);
extern int fsync(int fd);
/* From Modules/nismodule.c */
CLIENT *clnt_create();
#endif /* 0 */

View File

@ -299,7 +299,7 @@ nis_maplist (void)
{
nisresp_maplist *list;
char *dom;
CLIENT *cl, *clnt_create();
CLIENT *cl;
char *server = NULL;
int mapi = 0;
int err;