X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib%2Fctype.c;h=65e1ac9ca7884a7e64dd530791c99ec3aa6e6951;hb=e5a504eb3d8cbc33199dac61a07d16ddd3c1c7f9;hp=6ed0468a2196763b54fa15d99a5695ffd356dc43;hpb=83653121d7382fccfe329cb732f77f116341ef1d;p=u-boot diff --git a/lib/ctype.c b/lib/ctype.c index 6ed0468a21..65e1ac9ca7 100644 --- a/lib/ctype.c +++ b/lib/ctype.c @@ -2,23 +2,7 @@ * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * - * 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, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -29,7 +13,7 @@ #include -unsigned char _ctype[] = { +const unsigned char _ctype[] = { _C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ _C,_C|_S,_C|_S,_C|_S,_C|_S,_C|_S,_C,_C, /* 8-15 */ _C,_C,_C,_C,_C,_C,_C,_C, /* 16-23 */