]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy.
authorGuido van Rossum <guido@python.org>
Mon, 9 Dec 1996 18:46:28 +0000 (18:46 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 9 Dec 1996 18:46:28 +0000 (18:46 +0000)
Modules/nismodule.c

index ab5b9d0d7d55ce44927eddfdb7c46827b33fcd35..b95b9146f7e0babfc1df51d9313ba392e2caee40 100644 (file)
 #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 *