summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 00:51:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-02 00:53:16 +0200
commit3256110b8b488fde9cd74d5c3a8e5092dcd22921 (patch)
tree011a9ebddf9663ac417fcb3e5025781cfdd60679
parent40444d81636580c80d6000856cca6078ea41f85e (diff)
Add first-line comment to files lacking it
-rw-r--r--forward.c3
-rw-r--r--libc_pthread_init.c3
-rw-r--r--lockfile.c2
-rw-r--r--pthread/pt-spin-inlines.c3
-rw-r--r--sysdeps/generic/fork.h3
-rw-r--r--sysdeps/generic/pthread.h3
-rw-r--r--sysdeps/i386/bits/pthreadtypes-arch.h3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-consistent.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-destroy.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-getprioceiling.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-init.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-lock.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-setprioceiling.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-timedlock.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-transfer-np.c4
-rw-r--r--sysdeps/mach/hurd/pt-mutex-trylock.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutex-unlock.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-destroy.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-getprioceiling.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-getprotocol.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-getpshared.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-getrobust.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-gettype.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-init.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-setprioceiling.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-setprotocol.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-setpshared.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-setrobust.c3
-rw-r--r--sysdeps/mach/hurd/pt-mutexattr-settype.c3
-rw-r--r--sysdeps/mach/hurd/pt-sysdep.h2
-rw-r--r--sysdeps/pthread/bits/pthreadtypes.h2
-rw-r--r--sysdeps/pthread/flockfile.c3
-rw-r--r--sysdeps/pthread/ftrylockfile.c3
-rw-r--r--sysdeps/pthread/funlockfile.c3
-rw-r--r--sysdeps/pthread/pthread-functions.h3
-rw-r--r--sysdeps/pthread/pthreadP.h3
-rw-r--r--sysdeps/pthread/semaphore.h3
-rw-r--r--tests/test-1.c2
-rw-r--r--tests/test-2.c1
-rw-r--r--tests/test-6.c2
-rw-r--r--tests/test-7.c2
-rw-r--r--tests/test-8.c2
42 files changed, 81 insertions, 37 deletions
diff --git a/forward.c b/forward.c
index 8fab403..b1063f5 100644
--- a/forward.c
+++ b/forward.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* Libc stubs for pthread functions. Hurd pthread version.
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/libc_pthread_init.c b/libc_pthread_init.c
index 2270844..edba83a 100644
--- a/libc_pthread_init.c
+++ b/libc_pthread_init.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* libc initialization for libpthread. Hurd pthread version.
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2002.
diff --git a/lockfile.c b/lockfile.c
index 8a31b69..3225d08 100644
--- a/lockfile.c
+++ b/lockfile.c
@@ -1,4 +1,4 @@
-/* lockfile - Handle locking and unlocking of streams. Hurd cthreads version.
+/* lockfile - Handle locking and unlocking of streams. Hurd pthread version.
Copyright (C) 2000-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/pthread/pt-spin-inlines.c b/pthread/pt-spin-inlines.c
index af453e1..3797235 100644
--- a/pthread/pt-spin-inlines.c
+++ b/pthread/pt-spin-inlines.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2018 Free Software Foundation, Inc.
+/* Spin locks non-inline functions.
+ Copyright (C) 2000-2018 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
diff --git a/sysdeps/generic/fork.h b/sysdeps/generic/fork.h
index f46bb98..db1c707 100644
--- a/sysdeps/generic/fork.h
+++ b/sysdeps/generic/fork.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* Register fork handlers. Generic version.
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/sysdeps/generic/pthread.h b/sysdeps/generic/pthread.h
index 5661cb1..91ab9b3 100644
--- a/sysdeps/generic/pthread.h
+++ b/sysdeps/generic/pthread.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2000-2018 Free Software Foundation, Inc.
+/* Posix threads. Hurd version.
+ Copyright (C) 2000-2018 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
diff --git a/sysdeps/i386/bits/pthreadtypes-arch.h b/sysdeps/i386/bits/pthreadtypes-arch.h
index 3ea3bd7..75ba632 100644
--- a/sysdeps/i386/bits/pthreadtypes-arch.h
+++ b/sysdeps/i386/bits/pthreadtypes-arch.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* Machine-specific pthread type layouts. Hurd i386 version.
+ Copyright (C) 2002-2018 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
diff --git a/sysdeps/mach/hurd/pt-mutex-consistent.c b/sysdeps/mach/hurd/pt-mutex-consistent.c
index de9b5a2..2acff2e 100644
--- a/sysdeps/mach/hurd/pt-mutex-consistent.c
+++ b/sysdeps/mach/hurd/pt-mutex-consistent.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_consistent. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-destroy.c b/sysdeps/mach/hurd/pt-mutex-destroy.c
index 08c6773..49e297b 100644
--- a/sysdeps/mach/hurd/pt-mutex-destroy.c
+++ b/sysdeps/mach/hurd/pt-mutex-destroy.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_destroy. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-getprioceiling.c b/sysdeps/mach/hurd/pt-mutex-getprioceiling.c
index b6d91e5..dce0346 100644
--- a/sysdeps/mach/hurd/pt-mutex-getprioceiling.c
+++ b/sysdeps/mach/hurd/pt-mutex-getprioceiling.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_getprioceiling. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-init.c b/sysdeps/mach/hurd/pt-mutex-init.c
index cdefbb1..f504fb0 100644
--- a/sysdeps/mach/hurd/pt-mutex-init.c
+++ b/sysdeps/mach/hurd/pt-mutex-init.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_init. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-lock.c b/sysdeps/mach/hurd/pt-mutex-lock.c
index 7256ec5..21a6239 100644
--- a/sysdeps/mach/hurd/pt-mutex-lock.c
+++ b/sysdeps/mach/hurd/pt-mutex-lock.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_lock. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-setprioceiling.c b/sysdeps/mach/hurd/pt-mutex-setprioceiling.c
index 9920e29..ab453cc 100644
--- a/sysdeps/mach/hurd/pt-mutex-setprioceiling.c
+++ b/sysdeps/mach/hurd/pt-mutex-setprioceiling.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_setprioceiling. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-timedlock.c b/sysdeps/mach/hurd/pt-mutex-timedlock.c
index 4119291..f7832bc 100644
--- a/sysdeps/mach/hurd/pt-mutex-timedlock.c
+++ b/sysdeps/mach/hurd/pt-mutex-timedlock.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_timedlock. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-transfer-np.c b/sysdeps/mach/hurd/pt-mutex-transfer-np.c
index 15a3057..aab27c7 100644
--- a/sysdeps/mach/hurd/pt-mutex-transfer-np.c
+++ b/sysdeps/mach/hurd/pt-mutex-transfer-np.c
@@ -1,4 +1,6 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_transfer_np. Transfer mutex ownership to another thread.
+ Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-trylock.c b/sysdeps/mach/hurd/pt-mutex-trylock.c
index 6954917..dd9f18a 100644
--- a/sysdeps/mach/hurd/pt-mutex-trylock.c
+++ b/sysdeps/mach/hurd/pt-mutex-trylock.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_trylock. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutex-unlock.c b/sysdeps/mach/hurd/pt-mutex-unlock.c
index 86f7dba..9092197 100644
--- a/sysdeps/mach/hurd/pt-mutex-unlock.c
+++ b/sysdeps/mach/hurd/pt-mutex-unlock.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutex_unlock. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-destroy.c b/sysdeps/mach/hurd/pt-mutexattr-destroy.c
index 61e3e60..c2eada8 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-destroy.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-destroy.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_destroy. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-getprioceiling.c b/sysdeps/mach/hurd/pt-mutexattr-getprioceiling.c
index a0f54ea..cf2eab9 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-getprioceiling.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-getprioceiling.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_getprioceiling. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-getprotocol.c b/sysdeps/mach/hurd/pt-mutexattr-getprotocol.c
index 46e4b55..8eeaad1 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-getprotocol.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-getprotocol.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_getprotocol. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-getpshared.c b/sysdeps/mach/hurd/pt-mutexattr-getpshared.c
index 8c048f8..2718b03 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-getpshared.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-getpshared.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_getpshared. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-getrobust.c b/sysdeps/mach/hurd/pt-mutexattr-getrobust.c
index e584634..482ecd6 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-getrobust.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-getrobust.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_getrobust. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-gettype.c b/sysdeps/mach/hurd/pt-mutexattr-gettype.c
index 780ea0b..51059b9 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-gettype.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-gettype.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_gettype. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-init.c b/sysdeps/mach/hurd/pt-mutexattr-init.c
index 9077be8..9b7551e 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-init.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-init.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_init. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-setprioceiling.c b/sysdeps/mach/hurd/pt-mutexattr-setprioceiling.c
index 8264faa..8164e0c 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-setprioceiling.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-setprioceiling.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_setprioceiling. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-setprotocol.c b/sysdeps/mach/hurd/pt-mutexattr-setprotocol.c
index 6045b70..4ac6fb8 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-setprotocol.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-setprotocol.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_setprotocol. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-setpshared.c b/sysdeps/mach/hurd/pt-mutexattr-setpshared.c
index 09b7a57..f05b8c1 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-setpshared.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-setpshared.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_setpshared. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-setrobust.c b/sysdeps/mach/hurd/pt-mutexattr-setrobust.c
index 2de3afd..ee72da6 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-setrobust.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-setrobust.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_setrobust. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-mutexattr-settype.c b/sysdeps/mach/hurd/pt-mutexattr-settype.c
index 2a95c05..4b0b640 100644
--- a/sysdeps/mach/hurd/pt-mutexattr-settype.c
+++ b/sysdeps/mach/hurd/pt-mutexattr-settype.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* pthread_mutexattr_settype. Hurd version.
+ Copyright (C) 2016-2018 Free Software Foundation, Inc.
Contributed by Agustina Arzille <avarzille@riseup.net>, 2016.
This program is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/pt-sysdep.h b/sysdeps/mach/hurd/pt-sysdep.h
index 88b087c..0977806 100644
--- a/sysdeps/mach/hurd/pt-sysdep.h
+++ b/sysdeps/mach/hurd/pt-sysdep.h
@@ -1,4 +1,4 @@
-/* Internal defenitions for pthreads library.
+/* Internal definitions for pthreads library.
Copyright (C) 2000-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h
index 2092f8f..95ccf51 100644
--- a/sysdeps/pthread/bits/pthreadtypes.h
+++ b/sysdeps/pthread/bits/pthreadtypes.h
@@ -1,4 +1,4 @@
-/*
+/* Declaration of common pthread types for all architectures. Hurd version.
Copyright (C) 2000-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
diff --git a/sysdeps/pthread/flockfile.c b/sysdeps/pthread/flockfile.c
index 38bbe28..b50c8b9 100644
--- a/sysdeps/pthread/flockfile.c
+++ b/sysdeps/pthread/flockfile.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* Lock I/O stream. Hurd version.
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/sysdeps/pthread/ftrylockfile.c b/sysdeps/pthread/ftrylockfile.c
index 34f6e54..612981c 100644
--- a/sysdeps/pthread/ftrylockfile.c
+++ b/sysdeps/pthread/ftrylockfile.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* Try locking I/O stream. Hurd version
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/sysdeps/pthread/funlockfile.c b/sysdeps/pthread/funlockfile.c
index ef51ce3..cda2ef4 100644
--- a/sysdeps/pthread/funlockfile.c
+++ b/sysdeps/pthread/funlockfile.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
+/* Unlock I/O stream. Hurd version.
+ Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
diff --git a/sysdeps/pthread/pthread-functions.h b/sysdeps/pthread/pthread-functions.h
index b5683a6..106526f 100644
--- a/sysdeps/pthread/pthread-functions.h
+++ b/sysdeps/pthread/pthread-functions.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003-2018 Free Software Foundation, Inc.
+/* Declaration of libc stubs for pthread functions. Hurd version.
+ Copyright (C) 2003-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
diff --git a/sysdeps/pthread/pthreadP.h b/sysdeps/pthread/pthreadP.h
index 5559fd3..c379749 100644
--- a/sysdeps/pthread/pthreadP.h
+++ b/sysdeps/pthread/pthreadP.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2016-2018 Free Software Foundation, Inc.
+/* Declarations of internal pthread functions used by libc. Hurd version.
+ Copyright (C) 2016-2018 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
diff --git a/sysdeps/pthread/semaphore.h b/sysdeps/pthread/semaphore.h
index bb8c1b2..598d266 100644
--- a/sysdeps/pthread/semaphore.h
+++ b/sysdeps/pthread/semaphore.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2005-2018 Free Software Foundation, Inc.
+/* Posix semaphores. Hurd version.
+ Copyright (C) 2005-2018 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
diff --git a/tests/test-1.c b/tests/test-1.c
index 640a37f..e81dc5a 100644
--- a/tests/test-1.c
+++ b/tests/test-1.c
@@ -1,3 +1,5 @@
+/* Test mutexes. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-2.c b/tests/test-2.c
index 701462e..602469a 100644
--- a/tests/test-2.c
+++ b/tests/test-2.c
@@ -1,4 +1,5 @@
/* Test detachability. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-6.c b/tests/test-6.c
index fc0194e..1e08592 100644
--- a/tests/test-6.c
+++ b/tests/test-6.c
@@ -1,3 +1,5 @@
+/* Test barriers. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-7.c b/tests/test-7.c
index 18bae68..ed1b39b 100644
--- a/tests/test-7.c
+++ b/tests/test-7.c
@@ -1,3 +1,5 @@
+/* Test Thread-Specific Data. */
+
#define _GNU_SOURCE
#include <pthread.h>
diff --git a/tests/test-8.c b/tests/test-8.c
index 5fc51de..aec5e62 100644
--- a/tests/test-8.c
+++ b/tests/test-8.c
@@ -1,3 +1,5 @@
+/* Test pthread_once. */
+
#define _GNU_SOURCE
#include <pthread.h>