From: Karel Zak Date: Mon, 17 Mar 2025 13:35:10 +0000 (+0100) Subject: include: use public domain for colors.{c,h} and xalloc.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=549a517857;p=thirdparty%2Futil-linux.git include: use public domain for colors.{c,h} and xalloc.h The LGPL makes it difficult to use the code in the old BSD tools we have in util-linux. After obtaining agreement from the major contributors to the files, we are changing it to "Public Domain". Signed-off-by: Karel Zak --- diff --git a/include/colors.h b/include/colors.h index d91f5af45..770161ae0 100644 --- a/include/colors.h +++ b/include/colors.h @@ -1,8 +1,9 @@ /* - * SPDX-License-Identifier: LGPL-2.1-or-later + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. * - * Copyright (C) 2012 Ondrej Oprala - * Copyright (C) 2012-2014 Karel Zak + * Authors: 2012 Ondrej Oprala + * 2012-2025 Karel Zak * * This file may be distributed under the terms of the * GNU Lesser General Public License. diff --git a/include/xalloc.h b/include/xalloc.h index e8e427c86..2d13d54b9 100644 --- a/include/xalloc.h +++ b/include/xalloc.h @@ -1,11 +1,9 @@ /* - * SPDX-License-Identifier: LGPL-2.1-or-later + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. * - * Copyright (C) 2010 Davidlohr Bueso - * Copyright (C) 2010-2022 Karel Zak - * - * This file may be redistributed under the terms of the - * GNU Lesser General Public License. + * Authors 2010 Davidlohr Bueso + * 2010-2025 Karel Zak * * General memory allocation wrappers for malloc, realloc, calloc and strdup */ diff --git a/lib/colors.c b/lib/colors.c index 565a7171b..e25610c1c 100644 --- a/lib/colors.c +++ b/lib/colors.c @@ -1,8 +1,9 @@ /* - * SPDX-License-Identifier: LGPL-2.1-or-later + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. * - * Copyright (C) 2012 Ondrej Oprala - * Copyright (C) 2012-2014 Karel Zak + * Authors: 2012 Ondrej Oprala + * 2012-2025 Karel Zak * * This file may be distributed under the terms of the * GNU Lesser General Public License.