aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@redhat.com>2024-07-11 14:17:15 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-12 20:40:36 +0200
commit9d8995833e463cd675cc8bd40036d7d1412fdd1b (patch)
tree67561002240f3ad60a5181c6ba9c16fb9e718cc0 /nptl
parentef7005628f24afaf66cfcdeaac47a57b41177467 (diff)
downloadglibc-9d8995833e463cd675cc8bd40036d7d1412fdd1b.zip
glibc-9d8995833e463cd675cc8bd40036d7d1412fdd1b.tar.gz
glibc-9d8995833e463cd675cc8bd40036d7d1412fdd1b.tar.bz2
nptl: Add copyright notice tst-sem11 and tst-sem12 tests
Add a copyright notice to the tst-sem11 and tst-sem12 tests, observing that they have been originally contributed back in 2007, with commit 2af4e3e5668f ("Test of semaphores."). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-sem11.c18
-rw-r--r--nptl/tst-sem12.c18
2 files changed, 36 insertions, 0 deletions
diff --git a/nptl/tst-sem11.c b/nptl/tst-sem11.c
index 1a2dbaf..891e37a 100644
--- a/nptl/tst-sem11.c
+++ b/nptl/tst-sem11.c
@@ -1,3 +1,21 @@
+/* Test of semaphores.
+ Copyright (C) 2007-2024 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
+ <https://www.gnu.org/licenses/>. */
+
#include <semaphore.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/nptl/tst-sem12.c b/nptl/tst-sem12.c
index 71d02b7..a984352 100644
--- a/nptl/tst-sem12.c
+++ b/nptl/tst-sem12.c
@@ -1,3 +1,21 @@
+/* Test of semaphores.
+ Copyright (C) 2007-2024 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
+ <https://www.gnu.org/licenses/>. */
+
#include <time.h>
#include <sys/time.h>