diff options
author | Roland McGrath <roland@gnu.org> | 1996-02-12 10:36:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-02-12 10:36:01 +0000 |
commit | 25f9784eb8e54e720b24e8f2999765aa37bfb578 (patch) | |
tree | c5a7a54f679089f265d80c636b1869f9e0131509 /sunrpc/pm_getmaps.c | |
parent | 1fe58993bc8d1ccb8e6acaa5ad6618bafe5e30b6 (diff) | |
download | glibc-25f9784eb8e54e720b24e8f2999765aa37bfb578.tar.gz |
* sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
* sunrpc/pm_getmaps.c: Likewise.
Diffstat (limited to 'sunrpc/pm_getmaps.c')
-rw-r--r-- | sunrpc/pm_getmaps.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sunrpc/pm_getmaps.c b/sunrpc/pm_getmaps.c index c5f72af87b..c7da2c060d 100644 --- a/sunrpc/pm_getmaps.c +++ b/sunrpc/pm_getmaps.c @@ -6,23 +6,23 @@ * may copy or modify Sun RPC without charge, but are not authorized * to license or distribute it to anyone else except as part of a product or * program developed by the user. - * + * * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * + * * Sun RPC is provided with no support and without any obligation on the * part of Sun Microsystems, Inc. to assist in its use, correction, * modification or enhancement. - * + * * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * OR ANY PART THEREOF. - * + * * In no event will Sun Microsystems, Inc. be liable for any lost revenue * or profits or other special, indirect and consequential damages, even if * Sun has been advised of the possibility of such damages. - * + * * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 @@ -46,12 +46,13 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro"; #include <netdb.h> #include <stdio.h> #include <errno.h> -#undef _POSIX_SOURCE /* Ultrix <sys/param.h> needs --roland@gnu */ -#include <sys/param.h> /* Ultrix needs before net/if --roland@gnu */ + +#if 0 /* these seem to be gratuitous --roland@gnu */ #include <net/if.h> #include <sys/ioctl.h> #define NAMELEN 255 #define MAX_BROADCAST_SIZE 1400 +#endif extern int errno; |