diff options
Diffstat (limited to 'lib/libc/string')
40 files changed, 94 insertions, 14 deletions
diff --git a/lib/libc/string/bcmp.c b/lib/libc/string/bcmp.c index f1178a660b2b..96cd49039eee 100644 --- a/lib/libc/string/bcmp.c +++ b/lib/libc/string/bcmp.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1987, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/bcopy.c b/lib/libc/string/bcopy.c index c424de560f6c..141416d0afec 100644 --- a/lib/libc/string/bcopy.c +++ b/lib/libc/string/bcopy.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/ffs.c b/lib/libc/string/ffs.c index 42a94ef7383d..738ef90ce091 100644 --- a/lib/libc/string/ffs.c +++ b/lib/libc/string/ffs.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/ffsl.c b/lib/libc/string/ffsl.c index 3fd94521d623..dbd894b9655b 100644 --- a/lib/libc/string/ffsl.c +++ b/lib/libc/string/ffsl.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/ffsll.c b/lib/libc/string/ffsll.c index e19df91d1f03..91886de2f127 100644 --- a/lib/libc/string/ffsll.c +++ b/lib/libc/string/ffsll.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/fls.c b/lib/libc/string/fls.c index 7145b909f026..d9edc41f9599 100644 --- a/lib/libc/string/fls.c +++ b/lib/libc/string/fls.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/flsl.c b/lib/libc/string/flsl.c index 19485b2f787e..60370cf7d832 100644 --- a/lib/libc/string/flsl.c +++ b/lib/libc/string/flsl.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/flsll.c b/lib/libc/string/flsll.c index b12f12f2d0d7..275aaa0e2e15 100644 --- a/lib/libc/string/flsll.c +++ b/lib/libc/string/flsll.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/memccpy.c b/lib/libc/string/memccpy.c index 6102a5bdedaf..e4c9d0e17edd 100644 --- a/lib/libc/string/memccpy.c +++ b/lib/libc/string/memccpy.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/memchr.c b/lib/libc/string/memchr.c index 8020333dec3b..0dd9edecb704 100644 --- a/lib/libc/string/memchr.c +++ b/lib/libc/string/memchr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/memcmp.c b/lib/libc/string/memcmp.c index d2d0f27d35ef..c8d5d92985e2 100644 --- a/lib/libc/string/memcmp.c +++ b/lib/libc/string/memcmp.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/memset.c b/lib/libc/string/memset.c index ad0d513933fe..7d9909a76083 100644 --- a/lib/libc/string/memset.c +++ b/lib/libc/string/memset.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/stpcpy.c b/lib/libc/string/stpcpy.c index beb115948d8a..f31cce131777 100644 --- a/lib/libc/string/stpcpy.c +++ b/lib/libc/string/stpcpy.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1999 * David E. O'Brien * Copyright (c) 1988, 1993 diff --git a/lib/libc/string/strcasecmp.c b/lib/libc/string/strcasecmp.c index c72a660508c4..60b5bb4f0c4c 100644 --- a/lib/libc/string/strcasecmp.c +++ b/lib/libc/string/strcasecmp.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1987, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strcasestr.c b/lib/libc/string/strcasestr.c index cca16dc7bb63..b70c2195a94e 100644 --- a/lib/libc/string/strcasestr.c +++ b/lib/libc/string/strcasestr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strcat.c b/lib/libc/string/strcat.c index 07a3c08c1a2f..adaad598ec22 100644 --- a/lib/libc/string/strcat.c +++ b/lib/libc/string/strcat.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strchr.c b/lib/libc/string/strchr.c index ab83b3995a44..61244da4519c 100644 --- a/lib/libc/string/strchr.c +++ b/lib/libc/string/strchr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strcmp.c b/lib/libc/string/strcmp.c index 9daf624acce0..63cb4468415b 100644 --- a/lib/libc/string/strcmp.c +++ b/lib/libc/string/strcmp.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strcpy.c b/lib/libc/string/strcpy.c index 8a48d0d0d732..3eb0aa81eff5 100644 --- a/lib/libc/string/strcpy.c +++ b/lib/libc/string/strcpy.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strdup.c b/lib/libc/string/strdup.c index 8e90aa05fcb9..45ed95c2ea9d 100644 --- a/lib/libc/string/strdup.c +++ b/lib/libc/string/strdup.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strerror.c b/lib/libc/string/strerror.c index 1d7a385bd9ea..c5ac55ed3bc1 100644 --- a/lib/libc/string/strerror.c +++ b/lib/libc/string/strerror.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c index a73dd0ede401..50016be21ea1 100644 --- a/lib/libc/string/strmode.c +++ b/lib/libc/string/strmode.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strncat.c b/lib/libc/string/strncat.c index 6a0e553daa3f..116fc53f92f4 100644 --- a/lib/libc/string/strncat.c +++ b/lib/libc/string/strncat.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strncmp.c b/lib/libc/string/strncmp.c index 4967a9483e64..c68fe005fcbc 100644 --- a/lib/libc/string/strncmp.c +++ b/lib/libc/string/strncmp.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c index 39074035084c..3c02ccae41d8 100644 --- a/lib/libc/string/strncpy.c +++ b/lib/libc/string/strncpy.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strnstr.c b/lib/libc/string/strnstr.c index 4de757d5996f..756399fea902 100644 --- a/lib/libc/string/strnstr.c +++ b/lib/libc/string/strnstr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org> * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. diff --git a/lib/libc/string/strpbrk.c b/lib/libc/string/strpbrk.c index 565ef82f11d3..964379e19074 100644 --- a/lib/libc/string/strpbrk.c +++ b/lib/libc/string/strpbrk.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1985, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strrchr.c b/lib/libc/string/strrchr.c index f84ffb78c438..6afb8c1a497f 100644 --- a/lib/libc/string/strrchr.c +++ b/lib/libc/string/strrchr.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strsep.c b/lib/libc/string/strsep.c index 73c61af8115f..5de452109df7 100644 --- a/lib/libc/string/strsep.c +++ b/lib/libc/string/strsep.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strsignal.c b/lib/libc/string/strsignal.c index 7c461a3dbb80..5f3292d10255 100644 --- a/lib/libc/string/strsignal.c +++ b/lib/libc/string/strsignal.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/strstr.c b/lib/libc/string/strstr.c index 8ed58b81a875..890a4aba98f5 100644 --- a/lib/libc/string/strstr.c +++ b/lib/libc/string/strstr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2005-2014 Rich Felker, et al. * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/lib/libc/string/strtok.c b/lib/libc/string/strtok.c index 063a554339a6..46e40bfa4a61 100644 --- a/lib/libc/string/strtok.c +++ b/lib/libc/string/strtok.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1998 Softweyr LLC. All rights reserved. * * strtok_r, from Berkeley strtok diff --git a/lib/libc/string/swab.c b/lib/libc/string/swab.c index 84633094be3b..1a30ce813784 100644 --- a/lib/libc/string/swab.c +++ b/lib/libc/string/swab.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/wcpcpy.c b/lib/libc/string/wcpcpy.c index df63d72a0463..41b7c5178269 100644 --- a/lib/libc/string/wcpcpy.c +++ b/lib/libc/string/wcpcpy.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1999 * David E. O'Brien * Copyright (c) 1988, 1993 diff --git a/lib/libc/string/wcscmp.c b/lib/libc/string/wcscmp.c index c2abe4c797f7..7205238d5637 100644 --- a/lib/libc/string/wcscmp.c +++ b/lib/libc/string/wcscmp.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/wcsncmp.c b/lib/libc/string/wcsncmp.c index 8236d969feef..55c88f60e6fa 100644 --- a/lib/libc/string/wcsncmp.c +++ b/lib/libc/string/wcsncmp.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/wcsncpy.c b/lib/libc/string/wcsncpy.c index 215e9a115156..f86e40fe9536 100644 --- a/lib/libc/string/wcsncpy.c +++ b/lib/libc/string/wcsncpy.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/wcsstr.c b/lib/libc/string/wcsstr.c index ce598a698969..74921fecf047 100644 --- a/lib/libc/string/wcsstr.c +++ b/lib/libc/string/wcsstr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * diff --git a/lib/libc/string/wcstok.c b/lib/libc/string/wcstok.c index 441fbd444854..b4bdc869a2e1 100644 --- a/lib/libc/string/wcstok.c +++ b/lib/libc/string/wcstok.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1998 Softweyr LLC. All rights reserved. * * strtok_r, from Berkeley strtok diff --git a/lib/libc/string/wcswidth.c b/lib/libc/string/wcswidth.c index bac979b5b9f0..3a8805f1b754 100644 --- a/lib/libc/string/wcswidth.c +++ b/lib/libc/string/wcswidth.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. |
