chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prep v234.2: Remove obsolete files in coccinelle, docs/ and m4/
[elogind.git]
/
coccinelle
/
free_and_replace.cocci
diff --git
a/coccinelle/free_and_replace.cocci
b/coccinelle/free_and_replace.cocci
deleted file mode 100644
(file)
index
9dcdbf4
..0000000
--- a/
coccinelle/free_and_replace.cocci
+++ /dev/null
@@
-1,15
+0,0 @@
-@@
-expression p, q;
-@@
-- free(p);
-- p = q;
-- q = NULL;
-- return 0;
-+ return free_and_replace(p, q);
-@@
-expression p, q;
-@@
-- free(p);
-- p = q;
-- q = NULL;
-+ free_and_replace(p, q);