aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog9
-rw-r--r--nptl/Makefile2
-rw-r--r--nptl/eintr.c3
-rw-r--r--nptl/tst-kill3.c1
4 files changed, 14 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index a45742a..e5b2639 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,12 @@
+2003-02-22 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile (before-compile): Add $(objpfx)banner.h.
+
+ * eintr.c (eintr_source): Add unnecessary return but the compiler
+ insists.
+
+ * tst-kill3.c: Include <unistd.h>.
+
2003-02-21 Roland McGrath <roland@redhat.com>
* pthread_create.c (start_thread): Call __libc_thread_freeres.
diff --git a/nptl/Makefile b/nptl/Makefile
index 5b7ced7..47717b0 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -306,7 +306,7 @@ $(objpfx)crti.o: $(objpfx)crti.S $(objpfx)defs.h
generated += crti.S defs.h pt-initfini.s $(objpfx)tst-atfork2.mtrace \
$(addsuffix .so,$(strip $(modules-names)))
-$(objpfx)version.os: $(objpfx)banner.h
+before-compile = $(objpfx)banner.h
$(objpfx)banner.h: Banner
sed 's/\(.*\)/"\1\\n"/' $< > $@
generated += banner.h
diff --git a/nptl/eintr.c b/nptl/eintr.c
index a1b4746..64e5690 100644
--- a/nptl/eintr.c
+++ b/nptl/eintr.c
@@ -48,6 +48,9 @@ eintr_source (void *arg)
nanosleep (&ts, NULL);
}
+
+ /* NOTREACHED */
+ return NULL;
}
diff --git a/nptl/tst-kill3.c b/nptl/tst-kill3.c
index 9e29c73..9ea8d55 100644
--- a/nptl/tst-kill3.c
+++ b/nptl/tst-kill3.c
@@ -22,6 +22,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <sys/time.h>