diff options
author | Guido van Rossum <guido@python.org> | 1996-12-09 18:46:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-12-09 18:46:28 (GMT) |
commit | 259552dbd9117fcde8d3b5d676011611899f86dd (patch) | |
tree | ca11b328623d0d06ca47a2c5ede5116b2703be5d | |
parent | 52174577eb66cb5e54b3230a16e99dd5b76b6c23 (diff) | |
download | cpython-259552dbd9117fcde8d3b5d676011611899f86dd.zip cpython-259552dbd9117fcde8d3b5d676011611899f86dd.tar.gz cpython-259552dbd9117fcde8d3b5d676011611899f86dd.tar.bz2 |
Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy.
-rw-r--r-- | Modules/nismodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/nismodule.c b/Modules/nismodule.c index ab5b9d0..b95b914 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 * |