chiark / gitweb /
tree-wide: use IN_SET where possible
authorAndreas Rammhold <andreas@rammhold.de>
Thu, 28 Sep 2017 22:37:23 +0000 (00:37 +0200)
committerSven Eden <yamakuzure@gmx.net>
Thu, 28 Sep 2017 22:37:23 +0000 (00:37 +0200)
commita4488a7509a96d8b9f0d7793517a217c70ac0361
treeb7e4afb30d283f580ba35d37290bcf22a124a091
parent471b87cc6c159bafd11023e009fc43aa73812b5f
tree-wide: use IN_SET where possible

In addition to the changes from #6933 this handles cases that could be
matched with the included cocci file.
coccinelle/in_set.cocci [new file with mode: 0644]
src/basic/hashmap.c
src/basic/process-util.c
src/basic/signal-util.c
src/basic/socket-util.c
src/basic/terminal-util.c
src/basic/util.c
src/shared/clean-ipc.c
src/shared/utmp-wtmp.c