aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nptl/bits/stdio-lock.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-10-20 14:13:14 -0700
committerRoland McGrath <roland@hack.frob.com>2014-10-20 14:13:14 -0700
commitab49e7630f88ba9cc165dd2d855938c14ae4e158 (patch)
tree1a6858662a25f66fb13a1533c75e854754a1ce3c /sysdeps/nptl/bits/stdio-lock.h
parentf50277c19df0937ea9691ab7e7c642ecd3ed3d94 (diff)
downloadglibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.zip
glibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.tar.gz
glibc-ab49e7630f88ba9cc165dd2d855938c14ae4e158.tar.bz2
Make internal lock-init macros return void.
Diffstat (limited to 'sysdeps/nptl/bits/stdio-lock.h')
-rw-r--r--sysdeps/nptl/bits/stdio-lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/nptl/bits/stdio-lock.h b/sysdeps/nptl/bits/stdio-lock.h
index e2678cc..269df5e 100644
--- a/sysdeps/nptl/bits/stdio-lock.h
+++ b/sysdeps/nptl/bits/stdio-lock.h
@@ -31,7 +31,7 @@ typedef struct { int lock; int cnt; void *owner; } _IO_lock_t;
#define _IO_lock_initializer { LLL_LOCK_INITIALIZER, 0, NULL }
#define _IO_lock_init(_name) \
- ((_name) = (_IO_lock_t) _IO_lock_initializer , 0)
+ ((void) ((_name) = (_IO_lock_t) _IO_lock_initializer))
#define _IO_lock_fini(_name) \
((void) 0)