summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-11 12:02:33 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-11 12:02:33 +0100
commit30b3297d71fa947c66f74c12629895ad20800991 (patch)
treefa6371f316f8fb865a32086e55d2fd791e7417c9 /libports
parente794fd4243a6d3690a00488be641b2cb55b1946c (diff)
Remove remnants of cthreads
* doc/hurd.texi: Index pthread.h instead of cthreads.h * libports/Makefile (SRCS): Drop stubs.c. * libports/stubs.c: Remove file. * mach-defpager/default_pager.c (default_pager): Drop disabled cthreads calls. * pfinet/kmem_cache.c: Fix comment. * proc/stubs.c: Fix comments.
Diffstat (limited to 'libports')
-rw-r--r--libports/Makefile2
-rw-r--r--libports/stubs.c40
2 files changed, 1 insertions, 41 deletions
diff --git a/libports/Makefile b/libports/Makefile
index 78a3e366..9b483e61 100644
--- a/libports/Makefile
+++ b/libports/Makefile
@@ -30,7 +30,7 @@ SRCS = create-bucket.c create-class.c \
resume-bucket-rpcs.c resume-all-rpcs.c interrupt-rpcs.c \
init.c complete-deallocate.c get-right.c get-send-right.c \
count-class.c count-bucket.c \
- enable-class.c enable-bucket.c bucket-iterate.c class-iterate.c stubs.c \
+ enable-class.c enable-bucket.c bucket-iterate.c class-iterate.c \
notify-dead-name.c notify-no-senders.c notify-port-destroyed.c \
notify-msg-accepted.c notify-port-deleted.c notify-send-once.c \
interrupt-operation.c interrupt-on-notify.c interrupt-notified-rpcs.c \
diff --git a/libports/stubs.c b/libports/stubs.c
deleted file mode 100644
index de4ae4dd..00000000
--- a/libports/stubs.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- Copyright (C) 1995 Free Software Foundation, Inc.
- Written by Michael I. Bushnell.
-
- This file is part of the GNU Hurd.
-
- The GNU Hurd is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2, or (at
- your option) any later version.
-
- The GNU Hurd 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
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
-
-/* This file contains stubs for some cthreads functions.
- It should only get used if the user isn't otherwise using cthreads. */
-
-#if 0
-#include <cthreads.h>
-
-void condition_wait (condition_t c, mutex_t m) __attribute__ ((weak));
-
-void
-condition_wait (condition_t c, mutex_t m)
-{
-}
-
-void cond_broadcast (condition_t c) __attribute__ ((weak));
-
-void
-cond_broadcast (condition_t c)
-{
-}
-#endif