]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/const-strlen.cocci
Merge pull request #11707 from keszybz/man-directives-spring-cleaning
[thirdparty/systemd.git] / coccinelle / const-strlen.cocci
CommitLineData
fbd0b64f
LP
1@@
2constant s;
3@@
4- sizeof(s)-1
5+ STRLEN(s)
6@@
7constant s;
8@@
9- strlen(s)
10+ STRLEN(s)