From 13a98369ccc572b51ac2a388c91e2387c15cfad5 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 2 Feb 2023 16:20:43 +0100 Subject: [PATCH] include/cctype: fix License header This file has been originally imported from gnulib with GPL header, but it's now available with LGPLv2+ now (since gnulib commit https://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/c-ctype.h?id=5ffa144085078c72e7d60759ab2d6100b04cd2c2). Fixes: https://github.com/util-linux/util-linux/issues/2050 Signed-off-by: Karel Zak --- include/cctype.h | 47 +++++++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/include/cctype.h b/include/cctype.h index 4181b1225..b673b6cff 100644 --- a/include/cctype.h +++ b/include/cctype.h @@ -1,29 +1,24 @@ -/** - * Character handling in C locale. - * - * This file is based on gnulib c-ctype.h-dd7a871 with the - * other gnulib dependencies removed for use in util-linux. - * - * These functions work like the corresponding functions in , - * except that they have the C (POSIX) locale hardwired, whereas the - * functions' behaviour depends on the current locale set via - * setlocale. - * - * Copyright (C) 2000-2003, 2006, 2008-2017 Free Software Foundation, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . - */ +/* Character handling in C locale. + + These functions work like the corresponding functions in , + except that they have the C (POSIX) locale hardwired, whereas the + functions' behaviour depends on the current locale set via + setlocale. + + Copyright (C) 2000-2003, 2006, 2008-2023 Free Software Foundation, Inc. + + This file is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 2.1 of the + License, or (at your option) any later version. + + This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ #ifndef UTIL_LINUX_CCTYPE_H #define UTIL_LINUX_CCTYPE_H