summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-09 18:46:28 +0000
committerGuido van Rossum <guido@python.org>1996-12-09 18:46:28 +0000
commit259552dbd9117fcde8d3b5d676011611899f86dd (patch)
treeca11b328623d0d06ca47a2c5ede5116b2703be5d /Modules
parent52174577eb66cb5e54b3230a16e99dd5b76b6c23 (diff)
downloadcpython-git-259552dbd9117fcde8d3b5d676011611899f86dd.tar.gz
Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/nismodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c
index ab5b9d0d7d..b95b9146f7 100644
--- a/Modules/nismodule.c
+++ b/Modules/nismodule.c
@@ -20,6 +20,11 @@
#include <rpcsvc/yp_prot.h>
#include <rpcsvc/ypclnt.h>
+#ifdef __sgi
+/* This is missing from rpcsvc/ypclnt.h */
+extern int yp_get_default_domain();
+#endif
+
static object *NisError;
static object *