summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-04-06 10:46:13 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-07 23:15:27 +0200
commitdbc436cfac2d9a189ec752c2b0609a252e1be4f6 (patch)
treee23fcc9ba693e6e850dcf076f991b0ac72cdf977
parent8eefddd9652fb7477de37a93e1b075d13e6e5bef (diff)
2008-04-06 Neal H. Walfield <neal@gnu.org>
* sysdeps/l4/hurd/pt-kill.c: Just include "../generic/pt-kill.c".
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/l4/hurd/pt-kill.c33
2 files changed, 7 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index 6738fda..7139258 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-06 Neal H. Walfield <neal@gnu.org>
+
+ * sysdeps/l4/hurd/pt-kill.c: Just include "../generic/pt-kill.c".
+
2008-03-01 Neal H. Walfield <neal@gnu.org>
Add signal implementation.
diff --git a/sysdeps/l4/hurd/pt-kill.c b/sysdeps/l4/hurd/pt-kill.c
index 1e64af4..c72e82f 100644
--- a/sysdeps/l4/hurd/pt-kill.c
+++ b/sysdeps/l4/hurd/pt-kill.c
@@ -1,30 +1,3 @@
-/* pthread_kill. Hurd version.
- Copyright (C) 2002 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 Library General Public License as
- published by the Free Software Foundation; either version 2 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with the GNU C Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-#include <pthread.h>
-#include <assert.h>
-#include <signal.h>
-
-#include <pt-internal.h>
-
-int
-pthread_kill (pthread_t thread, int sig)
-{
- return ESRCH;
-}
+/* The generic version is good enough for us, however, the generic
+ Hurd on Mach version supplies a specialized version */
+#include "../generic/pt-kill.c"