summaryrefslogtreecommitdiff
path: root/coccinelle/empty-to-null.cocci
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-10-01 12:28:36 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-10-01 14:45:00 +0200
commit64b92d637c7bc22b22463f35722f1b63b2db11b1 (patch)
tree2ea85bb4403f5613412f93434af7d76715f1514b /coccinelle/empty-to-null.cocci
parented77c2de1fc4918a2dfb2be2ae364a32348d7a40 (diff)
downloadsystemd-64b92d637c7bc22b22463f35722f1b63b2db11b1.tar.gz
licensing: add spdx to our .cocci files
Since those are chunks of code based on our codebase, it's easiest to use the same license.
Diffstat (limited to 'coccinelle/empty-to-null.cocci')
-rw-r--r--coccinelle/empty-to-null.cocci1
1 files changed, 1 insertions, 0 deletions
diff --git a/coccinelle/empty-to-null.cocci b/coccinelle/empty-to-null.cocci
index bc6c656e79..1cc89475a6 100644
--- a/coccinelle/empty-to-null.cocci
+++ b/coccinelle/empty-to-null.cocci
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
/* Avoid running this transformation on the empty_to_null function itself */
position p : script:python() { p[0].current_element != "empty_to_null" };