From 30b3297d71fa947c66f74c12629895ad20800991 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 11 Nov 2020 12:02:33 +0100 Subject: 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. --- libports/Makefile | 2 +- libports/stubs.c | 40 ---------------------------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 libports/stubs.c (limited to 'libports') 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 - -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 -- cgit v1.2.3