summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/ChangeLog4
-rw-r--r--libdiskfs/notify-nosenders.c39
-rw-r--r--libdiskfs/notify-stubs.c71
3 files changed, 4 insertions, 110 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 170134b3..3da0ef5f 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-11 Marcus Brinkmann <marcus@gnu.org>
+
+ * notify-nosenders.c, notify-stubs.c: Delete obsolete files.
+
2003-06-11 Ognyan Kulev <ogi@fmi.uni-sofia.bg>
* dir-renamed.c (diskfs_rename_dir): Check permissions to remove
diff --git a/libdiskfs/notify-nosenders.c b/libdiskfs/notify-nosenders.c
deleted file mode 100644
index 7e6a504f..00000000
--- a/libdiskfs/notify-nosenders.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- Copyright (C) 1994, 1995 Free Software Foundation
-
- This program 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.
-
- This program 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "priv.h"
-#include <hurd/pager.h>
-
-/* Called by the kernel when a port has no more senders. We arrange
- to have this sent to the port which is out of senders (NOTIFY). MSCOUNT
- is the make-send count of the port when the notification was generated;
- SEQNO is the sequence number of the message dequeue. */
-error_t
-diskfs_do_seqnos_mach_notify_no_senders (mach_port_t notify,
- mach_port_seqno_t seqno __attribute__ ((unused)),
- mach_port_mscount_t mscount)
-{
- struct port_info *pt;
-
- pt = ports_lookup_port (diskfs_port_bucket, notify, 0);
-
- ports_no_senders (pt, mscount);
-
- ports_port_deref (pt);
-
- return 0;
-}
diff --git a/libdiskfs/notify-stubs.c b/libdiskfs/notify-stubs.c
deleted file mode 100644
index a9177f81..00000000
--- a/libdiskfs/notify-stubs.c
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- Copyright (C) 1994, 1995 Free Software Foundation
-
- This program 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.
-
- This program 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-#include "priv.h"
-
-error_t
-diskfs_do_seqnos_mach_notify_port_deleted (mach_port_t notify
- __attribute__ ((unused)),
- mach_port_seqno_t seqno
- __attribute__ ((unused)),
- mach_port_t name
- __attribute__ ((unused)))
-{
- return 0;
-}
-
-error_t
-diskfs_do_seqnos_mach_notify_msg_accepted (mach_port_t notify
- __attribute__ ((unused)),
- mach_port_seqno_t seqno
- __attribute__ ((unused)),
- mach_port_t name
- __attribute__ ((unused)))
-{
- return 0;
-}
-
-error_t
-diskfs_do_seqnos_mach_notify_port_destroyed (mach_port_t notify
- __attribute__ ((unused)),
- mach_port_seqno_t seqno
- __attribute__ ((unused)),
- mach_port_t name
- __attribute__ ((unused)))
-{
- return 0;
-}
-
-error_t
-diskfs_do_seqnos_mach_notify_send_once (mach_port_t notify
- __attribute__ ((unused)),
- mach_port_seqno_t seqno
- __attribute__ ((unused)))
-{
- return 0;
-}
-
-error_t
-diskfs_do_seqnos_mach_notify_dead_name (mach_port_t notify
- __attribute__ ((unused)),
- mach_port_seqno_t seqno
- __attribute__ ((unused)),
- mach_port_t name
- __attribute__ ((unused)))
-{
- return 0;
-}