[PATCH] incorrect function declaration for claim()

Olaf Hering olh at suse.de
Fri Nov 7 07:24:45 EST 2003


its void * in start.c


--- linux-2.4/arch/ppc/boot/chrp/main.c~	2003-07-17 19:28:11.000000000 +0200
+++ 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 *);


--
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/





More information about the Linuxppc-dev mailing list