[PATCH] incorrect function declaration for claim()
Sam Ravnborg
sam at ravnborg.org
Fri Nov 7 09:31:16 EST 2003
On Thu, Nov 06, 2003 at 09:24:45PM +0100, Olaf Hering wrote:
> +++ linux-2.4/arch/ppc/boot/chrp/main.c 2003-11-06 21:21:26.000000000 +0100
> @@ -17,7 +17,7 @@ extern char _start, _end;
>
> extern int getprop(void *, const char *, void *, int);
> extern unsigned int heap_max;
> -extern void claim(unsigned int virt, unsigned int size, unsigned int align);
> +extern void *claim(unsigned int virt, unsigned int size, unsigned int align);
> extern void *finddevice(const char *);
> extern void flush_cache(void *, unsigned long);
> extern void gunzip(void *, int, unsigned char *, int *);
In general I consider it a bug to have prototypes in a .c file....
Sam
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list