diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-07-06 11:43:54 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-07-06 11:48:56 +0200 |
commit | 92777f34df805c2069d14c28fe976256d31ed0ab (patch) | |
tree | 73003379a3b6c00e36264b0ed7c558ade9071085 /libio/libioP.h | |
parent | 8321286846970af562a2ff6b7272f1cd0860d6c1 (diff) | |
download | glibc-92777f34df805c2069d14c28fe976256d31ed0ab.tar.gz glibc-92777f34df805c2069d14c28fe976256d31ed0ab.tar.xz glibc-92777f34df805c2069d14c28fe976256d31ed0ab.zip |
hurd: Fix PTR_{,DE}MANGLE calls
* libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write, _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek) [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE. (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE. * libio/vtables.c (_IO_vtable_check) [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE. * libio/libioP.h (IO_set_accept_foreign_vtables) [!PTR_MANGLE]: Do not call PTR_MANGLE.
Diffstat (limited to 'libio/libioP.h')
-rw-r--r-- | libio/libioP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/libioP.h b/libio/libioP.h index 54dc35cdb6..3e12876137 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -906,7 +906,9 @@ extern void (*IO_accept_foreign_vtables) (void) attribute_hidden; static inline void IO_set_accept_foreign_vtables (void (*flag) (void)) { +#ifdef PTR_MANGLE PTR_MANGLE (flag); +#endif atomic_store_relaxed (&IO_accept_foreign_vtables, flag); } |