summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/pyport.h3
-rw-r--r--Modules/nismodule.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 852efb8..1bd1873 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -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 */
diff --git a/Modules/nismodule.c b/Modules/nismodule.c
index 36959cf..bcc8e9f 100644
--- a/Modules/nismodule.c
+++ b/Modules/nismodule.c
@@ -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;