Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2009 09:25:52 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Subject:   [PATCH]: type promotion prototypes fixes - NDIS
Message-ID:  <20090217082552.GA54893@freebsd.org>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090217082552.GA54893>