summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Gerards <marco@gnu.org>2004-09-12 10:45:38 +0000
committerMarco Gerards <marco@gnu.org>2004-09-12 10:45:38 +0000
commitae6de4b69179c93bd984fe441e1081cdf2563d13 (patch)
tree8489dc00bc073dc420158fa65f07e5e48d1b4da4
parentb322844fcb01f9669ef41d2e9d74ed17f70b71e6 (diff)
2004-09-12 Marco Gerards <metgerards@student.han.nl>
* io-select.c: Include <hurd/ports.h>. (netfs_S_io_select): Add arguments `reply' and `replytype'. * mutations.h (IO_SELECT_REPLY_PORT): New macro.
-rw-r--r--libnetfs/ChangeLog6
-rw-r--r--libnetfs/io-select.c5
-rw-r--r--libnetfs/mutations.h4
3 files changed, 13 insertions, 2 deletions
diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog
index 904a02e6..6b9d9d64 100644
--- a/libnetfs/ChangeLog
+++ b/libnetfs/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-12 Marco Gerards <metgerards@student.han.nl>
+
+ * io-select.c: Include <hurd/ports.h>.
+ (netfs_S_io_select): Add arguments `reply' and `replytype'.
+ * mutations.h (IO_SELECT_REPLY_PORT): New macro.
+
2004-07-27 Roland McGrath <roland@frob.com>
* misc.h (OPENONLY_STATE_MODES): Remove O_NONBLOCK.
diff --git a/libnetfs/io-select.c b/libnetfs/io-select.c
index 07ce9e75..c72eba6b 100644
--- a/libnetfs/io-select.c
+++ b/libnetfs/io-select.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 2004 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -20,9 +20,12 @@
#include "netfs.h"
#include "io_S.h"
+#include <hurd/ports.h>
error_t
netfs_S_io_select (struct protid *user,
+ mach_port_t reply,
+ mach_msg_type_name_t replytype,
int *type)
{
if (!user)
diff --git a/libnetfs/mutations.h b/libnetfs/mutations.h
index ea0b8476..003bbe21 100644
--- a/libnetfs/mutations.h
+++ b/libnetfs/mutations.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 2004 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -20,6 +20,8 @@
/* Only CPP macro definitions should go in this file. */
+#define IO_SELECT_REPLY_PORT
+
#define FILE_INTRAN protid_t begin_using_protid_port (file_t)
#define FILE_DESTRUCTOR end_using_protid_port (protid_t)