summaryrefslogtreecommitdiffstats
path: root/coccinelle/safe_close.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/safe_close.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/safe_close.cocci')
-rw-r--r--coccinelle/safe_close.cocci1
1 files changed, 1 insertions, 0 deletions
diff --git a/coccinelle/safe_close.cocci b/coccinelle/safe_close.cocci
index 6fedd804f2..36a8537251 100644
--- a/coccinelle/safe_close.cocci
+++ b/coccinelle/safe_close.cocci
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
expression fd;
@@