summaryrefslogtreecommitdiffstats
path: root/coccinelle/strempty.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/strempty.cocci
parentlicensing: add header to POTFILES.in (diff)
downloadsystemd-64b92d637c7bc22b22463f35722f1b63b2db11b1.tar.xz
systemd-64b92d637c7bc22b22463f35722f1b63b2db11b1.zip
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/strempty.cocci')
-rw-r--r--coccinelle/strempty.cocci1
1 files changed, 1 insertions, 0 deletions
diff --git a/coccinelle/strempty.cocci b/coccinelle/strempty.cocci
index 0868184c5d..d36f092f63 100644
--- a/coccinelle/strempty.cocci
+++ b/coccinelle/strempty.cocci
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
/* Avoid running this transformation on the strempty function itself and
* on the "make_expression" macro in src/libsystemd/sd-bus/bus-convenience.c.