svn commit: trunk/uClibc/include

Jan-Benedict Glaw jbglaw at lug-owl.de
Sun Jan 8 13:38:51 UTC 2006


On Sun, 2006-01-08 02:52:34 -0800, vapier at uclibc.org <vapier at uclibc.org> wrote:
> Author: vapier
> Date: 2006-01-08 02:52:33 -0800 (Sun, 08 Jan 2006)
> New Revision: 13156
> 
> Log:
> prototypes for arc4random
> 
> Modified:
>    trunk/uClibc/include/stdlib.h
> 
> 
> Changeset:
> Modified: trunk/uClibc/include/stdlib.h
> ===================================================================
> --- trunk/uClibc/include/stdlib.h	2006-01-08 10:42:04 UTC (rev 13155)
> +++ trunk/uClibc/include/stdlib.h	2006-01-08 10:52:33 UTC (rev 13156)
> @@ -845,6 +845,12 @@
>       __THROW __nonnull ((1));
>  #endif
>  
> +#ifdef __UCLIBC_HAS_ARC4RANDOM__
> +extern u_int32_t arc4random(void);
> +extern void arc4random_stir(void);
> +extern void arc4random_addrandom(unsigned char *, int);
> +#endif
> +
>  #endif /* don't just need malloc and calloc */
>  #undef __need_malloc_and_calloc
>  

vax-linux-uclibc-gcc -c libc/misc/assert/__assert.c -o libc/misc/assert/__assert.o -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I./include -I. -Os -funit-at-a-time -isystem /tmp/build-temp-vax-linux-uclibc/install/usr/lib/gcc/vax-linux-uclibc/4.2.0/include -DNDEBUG
In file included from libc/misc/assert/__assert.c:32:
./include/stdlib.h:849: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arc4random'
make: *** [libc/misc/assert/__assert.o] Error 1

u_int32_t requires stdint.h

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060108/6957b7b0/attachment-0002.pgp 


More information about the uClibc mailing list