summaryrefslogtreecommitdiffstats
path: root/Modules/nismodule.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2001-01-21 23:34:12 (GMT)
committerThomas Wouters <thomas@python.org>2001-01-21 23:34:12 (GMT)
commite75e6d06d2e94551ceb0c2bf8219bce9621f46d0 (patch)
tree7b30ecbc9c13620e59bbd30c976dc550b0305b27 /Modules/nismodule.c
parentb2dfd73bdce7552e671520a14e4b5a72dc02ce12 (diff)
downloadcpython-e75e6d06d2e94551ceb0c2bf8219bce9621f46d0.zip
cpython-e75e6d06d2e94551ceb0c2bf8219bce9621f46d0.tar.gz
cpython-e75e6d06d2e94551ceb0c2bf8219bce9621f46d0.tar.bz2
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 :-)
Diffstat (limited to 'Modules/nismodule.c')
-rw-r--r--Modules/nismodule.c2
1 files changed, 1 insertions, 1 deletions
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;