summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--string/test-strchrnul.c19
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 074b3520c0..aeec81fd74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* string/test-strchrnul.c: Add copyright header.
+
 	* posix/tst-getaddrinfo4.c: Increase test timeout.
 
 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
diff --git a/string/test-strchrnul.c b/string/test-strchrnul.c
index 9836af6ddd..43f2f1ea0c 100644
--- a/string/test-strchrnul.c
+++ b/string/test-strchrnul.c
@@ -1,2 +1,21 @@
+/* Test and measure strchrnul function.
+
+   Copyright (C) 2011-2013 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/>.  */
+
 #define USE_FOR_STRCHRNUL 1
 #include "test-strchr.c"