svn commit: trunk/uClibc/libc/inet

Carmelo AMOROSO carmelo.amoroso at st.com
Tue May 27 15:48:02 UTC 2008


vda at uclibc.org wrote:
> Author: vda
> Date: 2008-05-25 03:39:13 -0700 (Sun, 25 May 2008)
> New Revision: 22075
>
> Log:
> Slight size reduction by use of smallints/consts:
>
> - 288016           1924    7176  297116   4889c libuClibc-0.9.29.so
> + 287956           1924    7168  297048   48858 libuClibc-0.9.29.so
>
>
>
> Modified:
>    trunk/uClibc/libc/inet/gai_strerror.c
>    trunk/uClibc/libc/inet/getnetbyad.c
>    trunk/uClibc/libc/inet/getnetbynm.c
>    trunk/uClibc/libc/inet/getnetent.c
>    trunk/uClibc/libc/inet/getproto.c
>    trunk/uClibc/libc/inet/getservice.c
>
>   
Hi Denys,
each of this files need to include <unistd.h> to get the definition
of smallint for those archs that do not defines it in wordsize.h (i.e. sh4)

likely on x86, for some other include path, these get smallint defined.

I'm going to fix it



More information about the uClibc mailing list