[oe] fix for strl functions in alsautils
Khem Raj
raj.khem at gmail.com
Thu Feb 12 05:28:45 UTC 2009
On Mon, Jan 26, 2009 at 12:24 AM, Phil Blundell <pb at reciva.com> wrote:
> 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.
Here is alternative patch. Somehow I am having problem sending emails.
Thanks
-Khem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alsa-utils-autoconf-strl-funcs.patch
Type: text/x-patch
Size: 1164 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090211/25333ee0/attachment-0002.bin>
More information about the Openembedded-devel
mailing list