diff options
Diffstat (limited to 'coccinelle')
-rw-r--r-- | coccinelle/strjoina.cocci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/coccinelle/strjoina.cocci b/coccinelle/strjoina.cocci new file mode 100644 index 0000000000..a6236eb0f9 --- /dev/null +++ b/coccinelle/strjoina.cocci @@ -0,0 +1,6 @@ +@@ +expression n, m; +expression list s; +@@ +- n = strjoina(m, s, NULL); ++ n = strjoina(m, s); |