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