diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 21:15:46 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-09 13:56:48 +0100 |
commit | e5ad0570682a663fe704f0a7bb1edb61fca11ecb (patch) | |
tree | ef2eff23cd9d361811bd77459aa63752b6ca5ff0 /nptl | |
parent | f827f0e473d0aab4b34a5618a2a2ed89ecb88347 (diff) | |
download | glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.zip glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.tar.gz glibc-e5ad0570682a663fe704f0a7bb1edb61fca11ecb.tar.bz2 |
nptl: Move nptl-specific types to separate header
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/call_once.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/call_once.c b/nptl/call_once.c index 3f880a9..25e2964 100644 --- a/nptl/call_once.c +++ b/nptl/call_once.c @@ -27,5 +27,5 @@ call_once (once_flag *flag, void (*func)(void)) "sizeof (once_flag) != sizeof (pthread_once_t)"); _Static_assert (alignof (once_flag) == alignof (pthread_once_t), "alignof (once_flag) != alignof (pthread_once_t)"); - __pthread_once (&flag->__data, func); + __pthread_once ((pthread_once_t *) flag, func); } |