From fd26915a52145822d6bcf1a99c6262d9520060b3 Mon Sep 17 00:00:00 2001 From: Tomasz Gromadzki Date: Wed, 18 Sep 2024 19:16:38 +0200 Subject: [PATCH] Add SPDX license reference Signed-off-by: Tomasz Gromadzki --- CODING_STYLE.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CODING_STYLE.md b/CODING_STYLE.md index e0c2ca9a59..d3eaf2450d 100644 --- a/CODING_STYLE.md +++ b/CODING_STYLE.md @@ -48,9 +48,13 @@ Otherwise, just use `unsigned`, `long`, etc. - Make sure you have the right to submit your contribution under the BSD license, especially if it is based upon previous work. See [CONTRIBUTING.md](https://github.com/pmem/pmdk/blob/master/CONTRIBUTING.md) for details. -- A copy of the [BSD-style License](https://github.com/pmem/pmdk/blob/master/LICENSE.txt) -must be placed at the beginning of each source file, script or man page -(Obviously, it does not apply to README's, Visual Studio projects and \*.match files.) +- A copy of the SPDX BSD-3-Clause license reference must be placed at the beginning of each +source file, script or man page. (Obviously, it does not apply to README's, Visual Studio projects +and \*.match files.) +``` +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright , */ +``` - When adding a new file to the repo, or when making a contribution to an existing file, feel free to put your copyright string on top of it.