diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-03 05:13:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-03 05:13:16 +0000 |
commit | be06fd35cbfa9f4284de60ff22780ba1d2f060a4 (patch) | |
tree | 4f406523b5776c280246fe06f21ab4f5b5b1951d /libc/string/strpbrk.c | |
parent | 6f65ac296a885b9364016046e1c0160dfef812b1 (diff) |
Joseph S. Myers writes:
This patch fixes the build of libpthread for MIPS. The definition of
_test_and_set uses __THROW after the prototype: but attributes are only
accepted after the prototype in function declarations which aren't
definitions, not between the prototype and the function body in a
definition. The proper macro to use here is __NTH (placing the attribute
before the prototype).
glibc does the same thing, so this is also a sync up with glibc
Diffstat (limited to 'libc/string/strpbrk.c')
0 files changed, 0 insertions, 0 deletions