summaryrefslogtreecommitdiff
path: root/src/signal
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-02-24 12:33:06 -0500
committerRich Felker <dalias@aerifal.cx>2018-02-24 12:33:06 -0500
commit455bd824457b3e6cc3998817aac4e500b027cc50 (patch)
treeb116a97d30a0b0c84e2dd9fa1a59bdeb475bf67d /src/signal
parent7c59d098632e4382c9b674b189edbfd80d327682 (diff)
downloadmusl-455bd824457b3e6cc3998817aac4e500b027cc50.tar.gz
musl-455bd824457b3e6cc3998817aac4e500b027cc50.tar.bz2
musl-455bd824457b3e6cc3998817aac4e500b027cc50.tar.xz
musl-455bd824457b3e6cc3998817aac4e500b027cc50.zip
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/signal')
0 files changed, 0 insertions, 0 deletions