From: Ian Jackson Subject: Re: minios, use of namespace Date: Wed, 19 Jun 2013 16:59:02 +0100 Message-ID: <20929.54598.991722.820336@mariner.uk.xensource.com> References: <20929.54006.427511.235263@mariner.uk.xensource.com> <1371657291.22783.179.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1371657291.22783.179.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Samuel Thibault , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] minios, use of namespace"): > On Wed, 2013-06-19 at 16:49 +0100, Ian Jackson wrote: > > So I think the best solution is to rename the functions in minios to > > use names starting with _. External symbols starting with _ are > > reserved (by the C specification) for "the implementation", which is > > what we are. > > Would it also be usual/helpful to provide a minios-gntdev.h with just a > load of > #define gntdev_foo _gntdev_foo > > To make code used by folks opening the hatch a little bit less odd > looking or indeed for internal users of the functions... That would be quite plausible. Ian.