From: Keir Fraser Subject: Re: size_t and printk and Xen Date: Sun, 12 Oct 2008 10:41:28 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 12/10/08 10:22, "Keir Fraser" wrote: >> >> Is the typedef historical and should be removed? Or is it >> necessary for some (older?) compilers? > > Removing it would break the build, I think. I'm no particular fan of size_t in hypervisor interfaces though. So, for example, switching xmalloc() interfaces to use unsigned int instead would be fine by me, and this would sidestep the issue perhaps? -- Keir