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:
parent
b2dfd73bdc
commit
e75e6d06d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue