From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYEVU-0001Rf-JZ for qemu-devel@nongnu.org; Tue, 23 Feb 2016 10:04:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYEVQ-00041D-JH for qemu-devel@nongnu.org; Tue, 23 Feb 2016 10:04:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYEVQ-000414-B6 for qemu-devel@nongnu.org; Tue, 23 Feb 2016 10:04:04 -0500 References: <1456237112-32662-1-git-send-email-peter.maydell@linaro.org> <1456237112-32662-2-git-send-email-peter.maydell@linaro.org> From: Eric Blake Message-ID: <56CC74E3.9070905@redhat.com> Date: Tue, 23 Feb 2016 08:04:03 -0700 MIME-Version: 1.0 In-Reply-To: <1456237112-32662-2-git-send-email-peter.maydell@linaro.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GEkwIPedCvbplPRbCd3gI8oqg17c9V2iw" Subject: Re: [Qemu-devel] [PATCH 1/4] slirp/slirp.h: Remove now-empty #ifdefs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GEkwIPedCvbplPRbCd3gI8oqg17c9V2iw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/23/2016 07:18 AM, Peter Maydell wrote: > After automatic cleanup to remove unnecessary #includes of headers that= > osdep.h provides, slirp.h has a few now unnecessary #ifdef/#endif pairs= ; > remove them. >=20 > Signed-off-by: Peter Maydell > --- > slirp/slirp.h | 24 ------------------------ > 1 file changed, 24 deletions(-) >=20 > diff --git a/slirp/slirp.h b/slirp/slirp.h > index 07c13b4..7cfcf63 100644 > --- a/slirp/slirp.h > +++ b/slirp/slirp.h > @@ -26,28 +26,10 @@ typedef char *caddr_t; > #endif > =20 > =20 > -#ifdef HAVE_UNISTD_H > -#endif > - > -#ifdef HAVE_STDLIB_H > -#endif > - Once these are gone, slirp/slirp_config.h now has dead #defines (these and others); it ought to be pruned down as well (either here or as another followup). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --GEkwIPedCvbplPRbCd3gI8oqg17c9V2iw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWzHTjAAoJEKeha0olJ0Nq5G8IAK2UTZrXfvHBA/1TuZU8eDRV lJJLaOuehZ1fGTz+FQiEmcV9I7zNJnyd0/MmEIVgy8NIYPsve/7RV/1fCicAY9eF 4MZXr79tXjJhAxzeeNqIIWKm1zETuFQFmRJTkg0sHSKwJs1iYqvFnida+T6F2zrY 62P/v2YO1dGo5sO6ZuzF7NLu3s8y2TLrWpqOGbxXxB+IDlMnaCgjRe9+0zhbbQRQ zka4x8u2anAwnu4stCZTdP3qnR0L4TtzVh2bFoLCxE4XadLjdSVeGN5TJiDsrjw4 N9O6/kC/ep1B0MBONSz3ITCHB/b9eGV99DQYoRCKSWXO3uKRHYszDOeXXi5HnPU= =Bbrd -----END PGP SIGNATURE----- --GEkwIPedCvbplPRbCd3gI8oqg17c9V2iw--