]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/swap-two.cocci
licensing: add spdx to our .cocci files
[thirdparty/systemd.git] / coccinelle / swap-two.cocci
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 @@
3 expression x, y, z;
4 @@
5 - z = x;
6 - x = y;
7 - y = z;
8 + SWAP_TWO(x, y);