[PATCH v2 1/8] General further adoption of SPDX licensing ID tags.
Sebastian Huber <[email protected]> Sat, 20 Jun 2026 11:52:03 +0200
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
From: "Pedro F. Giffuni" <[email protected]> Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. --- newlib/libc/stdlib/div.c | 4 +++- newlib/libc/stdlib/ldiv.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/newlib/libc/stdlib/div.c b/newlib/libc/stdlib/div.c index 4868c6d47..4296f1e80 100644 --- a/newlib/libc/stdlib/div.c +++ b/newlib/libc/stdlib/div.c @@ -41,7 +41,9 @@ PORTABILITY No supporting OS subroutines are required. */ =20 -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c index 39bb36e11..c02711a78 100644 --- a/newlib/libc/stdlib/ldiv.c +++ b/newlib/libc/stdlib/ldiv.c @@ -42,7 +42,9 @@ No supporting OS subroutines are required. */ =20 =20 -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * --=20 2.51.0