svn commit: trunk/uClibc/libc/stdlib/malloc
Peter S. Mazinger
ps.m at gmx.net
Sun Jan 29 18:01:56 UTC 2006
On Sun, 29 Jan 2006, Peter S. Mazinger wrote:
> On Sun, 29 Jan 2006 vapier at uclibc.org wrote:
>
> > Author: vapier
> > Date: 2006-01-29 08:25:08 -0800 (Sun, 29 Jan 2006)
> > New Revision: 13679
> >
> > Log:
> > declare local prototype since we cant use system malloc.h
>
> why can't we use the system malloc.h? I have added many headers to get
> everywhere the headers opinion about the prototype, this and the
> use of hidden_proto revealed many conflicts. These conflicts have
> driven me to add the system-wide -D_GNU_SOURCE. Where I couldn't do
> that is like the case of ioperm/iopl where some archs do not provide the
> needed prototypes and/or files. If memalign is not in sync w/ what the
> header provides then either the header or this file are wrong imho.
another thought:do we maybe need 3 versions of the installed malloc.h
depending on which malloc was chosen?
Peter
> >
> > Modified:
> > trunk/uClibc/libc/stdlib/malloc/memalign.c
> >
> >
> > Changeset:
> > Modified: trunk/uClibc/libc/stdlib/malloc/memalign.c
> > ===================================================================
> > --- trunk/uClibc/libc/stdlib/malloc/memalign.c 2006-01-29 16:17:19 UTC (rev 13678)
> > +++ trunk/uClibc/libc/stdlib/malloc/memalign.c 2006-01-29 16:25:08 UTC (rev 13679)
> > @@ -30,6 +30,7 @@
> > \____ INIT ____/ \______ RETURNED _______/ \____ END ___/
> > */
> >
> > +void *memalign (size_t alignment, size_t size);
> > void *
> > memalign (size_t alignment, size_t size)
> > {
> >
> > _______________________________________________
> > uClibc-cvs mailing list
> > uClibc-cvs at uclibc.org
> > http://busybox.net/cgi-bin/mailman/listinfo/uclibc-cvs
> >
> >
>
>
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list