summaryrefslogtreecommitdiff
path: root/lib/string/strlcpy.c
diff options
context:
space:
mode:
authorBradley Morgan <brads@mainlining.org>2026-10-05 20:03:13 +0000
committerBradley Morgan <brads@mainlining.org>2026-10-05 20:03:13 +0000
commit6af4b637bda5010c1c1b59f6cf9583d394aa4438 (patch)
treeca02715111c3b733637fc242dd16a5c71cc59074 /lib/string/strlcpy.c
parent5ff54a875642962fc857cee00bde17f9a465f1fa (diff)
tashaboot: SPDX GPL-2.0+ everywhere, add LICENSEHEADmain
Stamp every source file with SPDX-License-Identifier: GPL-2.0+ and carry the full GPL-2 text as LICENSE. Same convention coreboot settled on (Ron Minnich): the SPDX line on the first line of each file, no license boilerplate blocks. Signed-off-by: Bradley Morgan <brads@mainlining.org>
Diffstat (limited to 'lib/string/strlcpy.c')
-rw-r--r--lib/string/strlcpy.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/string/strlcpy.c b/lib/string/strlcpy.c
index 2fa498c..d7c64b0 100644
--- a/lib/string/strlcpy.c
+++ b/lib/string/strlcpy.c
@@ -1,3 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
/* $OpenBSD: strlcpy.c,v 1.16 2019/01/25 00:19:25 millert Exp $ */
/*