summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-11 01:56:03 +0000
committerRoland McGrath <roland@gnu.org>1999-07-11 01:56:03 +0000
commit49f1feceed0ae6c92746d42e8563663f67fc546c (patch)
tree43fb17576f3ba52ec60ae6a3ccb64a9d8063c5c0 /libnetfs
parentfeb697a34fbf95cd3f57ac4b2e95daf5d8b1ba21 (diff)
1999-07-10 Roland McGrath <roland@baalperazim.frob.com>
* io-read.c: Add #include <sys/mman.h> for munmap decl. * release-protid.c: Likewise.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/io-read.c4
-rw-r--r--libnetfs/release-protid.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/libnetfs/io-read.c b/libnetfs/io-read.c
index 00452d30..4c97c297 100644
--- a/libnetfs/io-read.c
+++ b/libnetfs/io-read.c
@@ -1,4 +1,4 @@
-/*
+/*
Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
@@ -21,6 +21,7 @@
#include "netfs.h"
#include "io_S.h"
#include <fcntl.h>
+#include <sys/mman.h>
error_t
netfs_S_io_read (struct protid *user,
@@ -101,4 +102,3 @@ netfs_S_io_read (struct protid *user,
return err;
}
-
diff --git a/libnetfs/release-protid.c b/libnetfs/release-protid.c
index d423b2b6..b1bac0eb 100644
--- a/libnetfs/release-protid.c
+++ b/libnetfs/release-protid.c
@@ -1,4 +1,4 @@
-/*
+/*
Copyright (C) 1996, 1999 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
@@ -19,12 +19,13 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
#include "netfs.h"
+#include <sys/mman.h>
void
netfs_release_protid (void *arg)
{
struct protid *user = arg;
-
+
iohelp_free_iouser (user->user);
if (user->shared_object)
mach_port_deallocate (mach_task_self (), user->shared_object);