From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 08:29:05 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 109E9106566B for ; Tue, 17 Feb 2009 08:29:05 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id BE35D8FC17 for ; Tue, 17 Feb 2009 08:29:04 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7136D9CB068 for ; Tue, 17 Feb 2009 09:26:04 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AIHXDtwSL6vJ for ; Tue, 17 Feb 2009 09:25:52 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 62C1E9CB0F6 for ; Tue, 17 Feb 2009 09:25:52 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n1H8Pq0j055675 for current@freebsd.org; Tue, 17 Feb 2009 09:25:52 +0100 (CET) (envelope-from rdivacky) Date: Tue, 17 Feb 2009 09:25:52 +0100 From: Roman Divacky To: current@freebsd.org Message-ID: <20090217082552.GA54893@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: [PATCH]: type promotion prototypes fixes - NDIS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 08:29:05 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi can you please test/review this patch: www.vlakno.cz/~rdivacky/int-promotion.patch it fixes wrong type promotion prototypes in the cases where there is a ANSI prototype and K&R function where the default promotion to int is not satisfied. ie. void foo(uint16_t); void foo(x) uint16_t x; { return; } the uint16_t x in the K&R function is promoted to int so the prototype and function does not match. most of the fixes in the patch does not change ABI but the NDIS does, so please someone test this as I dont have the HW thnx! roman --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmadI8ACgkQLVEj6D3CBEz52wCeKhx47HvggjCIU1/UX/XPjMK7 Qc0AmwaH64uhvi7tqzntVX+/exlpIVGd =iDSn -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--