]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/swap-two.cocci
hashmap: avoid using TLS in a destructor
[thirdparty/systemd.git] / coccinelle / swap-two.cocci
1 @@
2 expression x, y, z;
3 @@
4 - z = x;
5 - x = y;
6 - y = z;
7 + SWAP_TWO(x, y);