From 661917e84d01a9f9087edbbffbb032053c703896 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Tue, 17 Dec 2024 00:52:32 +0100 Subject: [PATCH] libs/libc/stdlib: remove BSD-4 clause remove the advertising clause 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and its contributors. permitted by Berkley amendment https://ipira.berkeley.edu/sites/default/files/amendment_of_4-clause_bsd_software_license.pdf following example from NETBSD and OPENBSD https://github.com/NetBSD/src/commit/eb7c1594f145c931049e1fd9eb056a5987e87e59 https://github.com/openbsd/src/commit/6580fee3295c971a919cc04bfc3598c5f8bcd2b1 Signed-off-by: Alin Jerpelea --- libs/libc/stdlib/lib_bsearch.c | 6 +----- libs/libc/stdlib/lib_qsort.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/libs/libc/stdlib/lib_bsearch.c b/libs/libc/stdlib/lib_bsearch.c index 7a29982eaf..17e43774be 100644 --- a/libs/libc/stdlib/lib_bsearch.c +++ b/libs/libc/stdlib/lib_bsearch.c @@ -12,11 +12,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * diff --git a/libs/libc/stdlib/lib_qsort.c b/libs/libc/stdlib/lib_qsort.c index 4e61168d8f..24b82c957b 100644 --- a/libs/libc/stdlib/lib_qsort.c +++ b/libs/libc/stdlib/lib_qsort.c @@ -18,11 +18,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. *