]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/htonl.cocci
fs-util: no need for fchmod_and_chown() to access /proc/self/fd directly
[thirdparty/systemd.git] / coccinelle / htonl.cocci
1 @@
2 expression s;
3 @@
4 - htonl(s)
5 + htobe32(s)
6 @@
7 expression s;
8 @@
9 - htons(s)
10 + htobe16(s)
11 @@
12 expression s;
13 @@
14 - ntohl(s)
15 + be32toh(s)
16 @@
17 expression s;
18 @@
19 - ntohs(s)
20 + be16toh(s)