From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17786 invoked by alias); 5 May 2011 08:15:11 -0000 Received: (qmail 17767 invoked by uid 22791); 5 May 2011 08:15:09 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 May 2011 08:14:54 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p458Esj1006763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 May 2011 04:14:54 -0400 Received: from hase (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p458EqtI021682 for ; Thu, 5 May 2011 04:14:53 -0400 From: Andreas Schwab To: libc-hacker@sourceware.org Subject: [PATCH] Don't use removed rpc headers X-Yow: Did you GAIN WEIGHT in th' past 5 MINUTES or am I just DREAMING of two BROCCOLI FLORETS lying in an empty GAS TANK? Date: Thu, 05 May 2011 08:15:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00004.txt.bz2 2011-05-05 Andreas Schwab * resolv/netdb.h: Don't include . * nis/Makefile: Don't install rpcsvc/*. * inet/protocols/timed.h: Include and instead of . (MAXHOSTNAMELEN): Define. --- inet/protocols/timed.h | 4 +++- nis/Makefile | 4 ++-- resolv/netdb.h | 5 ----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/inet/protocols/timed.h b/inet/protocols/timed.h index 4345bed..b5d4702 100644 --- a/inet/protocols/timed.h +++ b/inet/protocols/timed.h @@ -32,7 +32,8 @@ #ifndef _PROTOCOLS_TIMED_H #define _PROTOCOLS_TIMED_H 1 -#include +#include +#include /* * Time Synchronization Protocol @@ -40,6 +41,7 @@ #define TSPVERSION 1 #define ANYADDR NULL +#define MAXHOSTNAMELEN 64 struct tsp { u_char tsp_type; diff --git a/nis/Makefile b/nis/Makefile index d2934d9..b5c9609 100644 --- a/nis/Makefile +++ b/nis/Makefile @@ -23,9 +23,9 @@ subdir := nis aux := nis_hash -headers := $(wildcard rpcsvc/*.[hx]) distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \ - nisplus-parser.h nis_xdr.h nss + nisplus-parser.h nis_xdr.h nss \ + $(wildcard rpcsvc/*.[hx]) # These are the databases available for the nis (and perhaps later nisplus) # service. This must be a superset of the services in nss. diff --git a/resolv/netdb.h b/resolv/netdb.h index 6b76a25..b70639b 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -27,11 +27,6 @@ #include #include -#ifdef __USE_MISC -/* This is necessary to make this include file properly replace the - Sun version. */ -# include -#endif #ifdef __USE_GNU # define __need_sigevent_t -- 1.7.4.4 -- Andreas Schwab, schwab@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different."