[oe] fix for strl functions in alsautils

Phil Blundell pb at reciva.com
Mon Jan 26 08:24:10 UTC 2009


On Sun, 2009-01-25 at 23:49 -0800, Khem Raj wrote:
> * These funtions are provided by C libraries like uclibc
>         Declaring them static here causes static not static declaration
>         issues reported by gcc.
> [...]
> + #ifdef __GLIBC__
> +-static size_t strlcpy(char *dst, const char *src, size_t size)
> ++size_t strlcpy(char *dst, const char *src, size_t size)
> + {

Wouldn't it be better to change that "#ifdef __GLIBC__" to something
more appropriate?  With your change it looks like you will still get
useless copies of these functions in the resulting binaries.

p.






More information about the Openembedded-devel mailing list