OSDN Git Service

Blackfin: fix incorrect attribute order
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Jul 2009 09:02:41 +0000 (05:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Jul 2009 09:41:34 +0000 (05:41 -0400)
commitaafd587b8ba7d54a04f8acb32f5533820638ba2b
tree6dbbdfcfcc3dd4720c2778dbf517c74bb0b646e6
parentc783cce0b040d32dc24aa6b99831287f46659458
Blackfin: fix incorrect attribute order

The order of attributes in a function definition matters and in a few
places in the Blackfin code, it was being applied to the return type
instead of the function itself.

In file included from ldso/ldso/ldso.c:43:
ldso/ldso/bfin/elfinterp.c: At top level:
ldso/ldso/bfin/elfinterp.c:42: warning: '__visibility__' attribute ignored on non-class types

In file included from ldso/ldso/bfin/elfinterp.c:341,
                 from ldso/ldso/ldso.c:43:
libc/sysdeps/linux/bfin/crtreloc.c: At top level:
libc/sysdeps/linux/bfin/crtreloc.c:91: warning: 'visibility' attribute ignored on non-class types

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ldso/ldso/bfin/elfinterp.c
libc/sysdeps/linux/bfin/crtreloc.c