Commit e75e6d06 authored by Thomas Wouters's avatar Thomas Wouters

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 :-)
parent b2dfd73b
......@@ -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 */
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment