From 549a5178574364a2bd219ad1ed028f4f4ea71c3d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 17 Mar 2025 14:35:10 +0100 Subject: [PATCH] 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 --- include/colors.h | 7 ++++--- include/xalloc.h | 10 ++++------ lib/colors.c | 7 ++++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/colors.h b/include/colors.h index d91f5af454..770161ae07 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 e8e427c862..2d13d54b93 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 565a7171ba..e25610c1c4 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. -- 2.39.5