diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-20 14:13:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-20 14:13:14 -0700 |
commit | ab49e7630f88ba9cc165dd2d855938c14ae4e158 (patch) | |
tree | 1a6858662a25f66fb13a1533c75e854754a1ce3c /sysdeps/nptl/bits/libc-lock.h | |
parent | f50277c19df0937ea9691ab7e7c642ecd3ed3d94 (diff) | |
download | glibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.tar glibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.tar.gz glibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.tar.bz2 glibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.zip |
Make internal lock-init macros return void.
Diffstat (limited to 'sysdeps/nptl/bits/libc-lock.h')
-rw-r--r-- | sysdeps/nptl/bits/libc-lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/nptl/bits/libc-lock.h b/sysdeps/nptl/bits/libc-lock.h index 532cf2c701..66e5b93443 100644 --- a/sysdeps/nptl/bits/libc-lock.h +++ b/sysdeps/nptl/bits/libc-lock.h @@ -62,7 +62,7 @@ typedef struct __libc_lock_recursive_opaque__ __libc_lock_recursive_t; /* Initialize a recursive mutex. */ #if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread) # define __libc_lock_init_recursive(NAME) \ - ((NAME) = (__libc_lock_recursive_t) _LIBC_LOCK_RECURSIVE_INITIALIZER, 0) + ((void) ((NAME) = (__libc_lock_recursive_t) _LIBC_LOCK_RECURSIVE_INITIALIZER)) #else # define __libc_lock_init_recursive(NAME) \ do { \ |