From: Ian Jackson Subject: Re: [PATCH v5 2/8] tools/libxc: pull min/max_t into xc_private.h Date: Thu, 10 Jul 2014 12:01:00 +0100 Message-ID: <21438.29292.312232.853347@mariner.uk.xensource.com> References: <1404907608.16789.18.camel@kazak.uk.xensource.com> <1404907666-8594-2-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404907666-8594-2-git-send-email-ian.campbell@citrix.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: stefano.stabellini@eu.citrix.com, tim@xen.org, julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH v5 2/8] tools/libxc: pull min/max_t into xc_private.h"): > There are generally useful. Sorry for not spotting this but: names matching "*_t" are by the C spec "reserved for the implementation". This is not a problem in the hypervisor because that is compiled without the system headrs. In practice what this means is that it is possible that porting the tools to a new platform might involve renaming these macros. So we don't need to fix it right now unless we really feel like it. But we mustn't let the scope of these increase to include guest-side code. (Also "min_t" is a very funny name for a function macro like this one. To me it implies a type.) Ian.