summaryrefslogtreecommitdiffstats
path: root/lib/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strlcpy.c')
-rw-r--r--lib/strlcpy.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/strlcpy.c b/lib/strlcpy.c
index 71ee9f1a5..74ea9cbc9 100644
--- a/lib/strlcpy.c
+++ b/lib/strlcpy.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/* Copy a null-terminated string to a fixed-size buffer, with length checking.
* Copyright (C) 2016 Free Software Foundation, Inc.
* This file is part of the GNU C Library.
- *
- * The GNU C Library 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.
- *
- * The GNU C Library 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 the GNU C Library; if not, see
- * <http://www.gnu.org/licenses/>.
*/
/* adapted for Quagga from glibc patch submission originally from