diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-02-24 12:33:06 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-02-24 12:33:06 -0500 |
commit | 455bd824457b3e6cc3998817aac4e500b027cc50 (patch) | |
tree | b116a97d30a0b0c84e2dd9fa1a59bdeb475bf67d /src/malloc/aligned_alloc.c | |
parent | 7c59d098632e4382c9b674b189edbfd80d327682 (diff) | |
download | musl-455bd824457b3e6cc3998817aac4e500b027cc50.tar.gz |
use idiomatic safe form for FUNLOCK macro
previously this macro used an odd if/else form instead of the more
idiomatic do/while(0), making it unsafe against omission of trailing
semicolon. the omission would make the following statement conditional
instead of producing an error.
Diffstat (limited to 'src/malloc/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions