incorrect function declaration for claim()
PATCH 1/1 incorrect function declaration for claim()
its void * in start.c
arch/ppc/boot/chrp/main.c renamed from arch/ppc/boot/chrp/main.c~ +1 -1
@@ -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 *);
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
arch/ppc/boot/chrp/main.c extern char _start, _end; · line 23
Quoted 10 lines · Olaf Hering
+++
linux-2.4/arch/ppc/boot/chrp/main.c2003-11-06 21:21:26.000000000 +0100arch/ppc/boot/chrp/main.c renamed from arch/ppc/boot/chrp/main.c~ +1
-1@@ -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/