libc_hidden_proto removal

Denys Vlasenko vda.linux at googlemail.com
Fri Nov 21 11:15:05 UTC 2008


On Fri, Nov 21, 2008 at 11:59 AM, Tobias Poschwatta <tp at fonz.de> wrote:
> On Thu, Nov 20, 2008 at 11:20:05PM +0100, Denys Vlasenko wrote:
>> Please, if something broke, yell at me (and mail your .config).
>
> It broke ioperm.c on my ARM. Uncommenting the hidden_proto seems to
> fix it again. Config attached.

I see.

> --- libc/sysdeps/linux/arm/ioperm.c.orig        2008-11-21 11:32:38.000000000 +0100
> +++ libc/sysdeps/linux/arm/ioperm.c     2008-11-21 11:32:56.000000000 +0100
> @@ -46,7 +46,7 @@
>  #include <sys/sysctl.h>
>  #include <sys/io.h>
>
> -/* libc_hidden_proto(ioperm) */
> +libc_hidden_proto(ioperm)

The rule now is to try to keep libc_hidden_proto's in .h files.

Please try attached patch.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z.diff
Type: text/x-patch
Size: 4849 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20081121/9b8440b4/attachment-0002.bin 


More information about the uClibc mailing list