From owner-svn-src-head@FreeBSD.ORG Sun Jun 30 20:09:11 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 620FB8DF; Sun, 30 Jun 2013 20:09:11 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id AD9B51A34; Sun, 30 Jun 2013 20:09:09 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoYGADSO0FFR8aFy/2dsb2JhbABagwmEArwOfRd0giMBAQUjMyMQCxgJIQICDwIoHgYNAQUCAQGID6ovkEePXgeCUYEWA5AIgS2XWIMTOg Received: from 114.161-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.161.114]) by relay.skynet.be with ESMTP; 30 Jun 2013 22:08:00 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r5UK7wli006970; Sun, 30 Jun 2013 22:07:59 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <51D09019.50101@coosemans.org> Date: Sun, 30 Jun 2013 22:07:53 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Ed Schouten Subject: Re: svn commit: r252411 - head/sys/sys References: <201306300854.r5U8sfYS018720@svn.freebsd.org> <51D07C10.2000509@coosemans.org> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2FDKUDABQUBTHOJNBRGWK" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 20:09:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2FDKUDABQUBTHOJNBRGWK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2013-06-30 21:44, Ed Schouten wrote: > 2013/6/30 Tijl Coosemans : >> I don't think you can use static inline. Standard library functions ne= ed >> to have external linkage, which means you have to implement them in li= bc. >=20 > First of all, I could be mistaken, so please correct me if I say > something wrong here. >=20 > If my memory serves me right, this requirement is part of POSIX -- not > ISO C. As this is interface is not yet part of any version of POSIX > and at least I am not in the possession of a draft of POSIX that > specified these functions, I think it would be unwise to add this to > the C library. I think there is nothing that would forbid us to use > static inline functions. >=20 > As C11 merely names these things "functions", I think using a static > inline function would currently be the wisest thing to do. To my > knowledge the current version of the code at least complies with the > standards at hand. The N1570 draft of C11 7.1.2 point 6 says: Any declaration of a library function shall have external linkage. ------enig2FDKUDABQUBTHOJNBRGWK 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.0.20 (FreeBSD) iF4EAREIAAYFAlHQkB4ACgkQfoCS2CCgtiseFgD+M8ngvKmavtxg8QbbugwqXLAy ZVgDDV6EKgY+aXkXKsEA/Rbn+iFHbLfqYbJo1yKFjxFf5scurerjxdzPmnIeDn6m =8jPs -----END PGP SIGNATURE----- ------enig2FDKUDABQUBTHOJNBRGWK--