[uClibc-cvs] uClibc/include stdlib.h,1.37,1.38

Erik Andersen andersen at uclibc.org
Tue May 27 20:13:16 UTC 2003


Update of /var/cvs/uClibc/include
In directory winder:/tmp/cvs-serv25261/include

Modified Files:
	stdlib.h 
Log Message:
grr.  It's a void *, not a char *.


Index: stdlib.h
===================================================================
RCS file: /var/cvs/uClibc/include/stdlib.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- stdlib.h	27 May 2003 20:11:16 -0000	1.37
+++ stdlib.h	27 May 2003 20:13:13 -0000	1.38
@@ -552,7 +552,7 @@
  * style returning-a-valid-pointer-for-malloc(0) behavior.  This
  * calls malloc() as usual, but if __size is zero, we allocate and
  * return a 1-byte block instead....  sigh... */ 
-static __inline char * rpl_malloc (size_t __size)
+static __inline void *rpl_malloc (size_t __size)
 {
     if (__size == 0) {
 	__size++; 



More information about the uClibc-cvs mailing list