summaryrefslogtreecommitdiff
path: root/lib/libc/strnlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/strnlen.c')
-rw-r--r--lib/libc/strnlen.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/strnlen.c b/lib/libc/strnlen.c
index d48502bd..b944e95b 100644
--- a/lib/libc/strnlen.c
+++ b/lib/libc/strnlen.c
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2009 David Schultz <das@FreeBSD.org>
* All rights reserved.
*
@@ -25,11 +27,10 @@
*/
/*
- * Portions copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
+ * Portions copyright (c) 2018, ARM Limited and Contributors.
+ * All rights reserved.
*/
-#include <sys/cdefs.h>
-
#include <string.h>
size_t