From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-07.arcor-online.net (mail-in-07.arcor-online.net [151.189.21.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 13D43DDDEB for ; Thu, 22 Feb 2007 21:31:58 +1100 (EST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: platform_ops.malloc() vs. realloc() Date: Thu, 22 Feb 2007 11:31:49 +0100 To: Geert Uytterhoeven Cc: Linux/PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > | void * (*malloc)(u32 size); > | void * (*realloc)(void *ptr, unsigned long size); > Is there a specific reason why the size parameters of malloc() and > realloc() > differ in type? There are good arguments to prefer either u32 or unsigned long, so maybe the current situation is a compromise ;-P Segher