summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-10 19:08:06 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-10 19:08:06 +0000
commit024c0708ff69c63c0c8daa999dedb3fd5488150a (patch)
tree69a2f7a562e706df7d6a8be8030781798b943320 /libdiskfs
parent73e51d9a86acebcc44d4635c94f49e938d453b76 (diff)
Initial revision
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/notify-nosenders.c2
-rw-r--r--libdiskfs/notify-stubs.c62
2 files changed, 62 insertions, 2 deletions
diff --git a/libdiskfs/notify-nosenders.c b/libdiskfs/notify-nosenders.c
index ee528b71..ac6cff4e 100644
--- a/libdiskfs/notify-nosenders.c
+++ b/libdiskfs/notify-nosenders.c
@@ -15,8 +15,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include "priv.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;
diff --git a/libdiskfs/notify-stubs.c b/libdiskfs/notify-stubs.c
new file mode 100644
index 00000000..70d193cb
--- /dev/null
+++ b/libdiskfs/notify-stubs.c
@@ -0,0 +1,62 @@
+/*
+ Copyright (C) 1994 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
+do_seqnos_mach_notify_port_deleted (mach_port_t notify,
+ mach_port_seqno_t seqno,
+ mach_port_t name)
+{
+ printf ("port deleted notification\n");
+ return 0;
+}
+
+error_t
+do_seqnos_mach_notify_msg_accepted (mach_port_t notify,
+ mach_port_seqno_t seqno,
+ mach_port_t name)
+{
+ printf ("msg accepted notification\n");
+ return 0;
+}
+
+error_t
+do_seqnos_mach_notify_port_destroyed (mach_port_t notify,
+ mach_port_seqno_t seqno,
+ mach_port_t name)
+{
+ printf ("port destroyed notification\n");
+ return 0;
+}
+
+error_t
+do_seqnos_mach_notify_send_once (mach_port_t notify,
+ mach_port_seqno_t seqno)
+{
+ printf ("send once notification\n");
+ return 0;
+}
+
+error_t
+do_seqnos_mach_notify_dead_name (mach_port_t notify,
+ mach_port_seqno_t seqno,
+ mach_port_t name)
+{
+ printf ("dead name notification\n");
+ return 0;
+}