summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-05 14:17:05 +0000
committerRoland McGrath <roland@gnu.org>1994-05-05 14:17:05 +0000
commit729de2ab72ea246825663581c4584f94134b985d (patch)
tree90c2364318eed7ee7ae4be9959ce2cd53e5a30ba /libdiskfs
parentbd14ef64c9e7e5fc047983650676b50e9130e85c (diff)
Formerly io-stubs.c.~5~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-stubs.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libdiskfs/io-stubs.c b/libdiskfs/io-stubs.c
index d5266e30..07129b86 100644
--- a/libdiskfs/io-stubs.c
+++ b/libdiskfs/io-stubs.c
@@ -23,7 +23,7 @@
/* Implement io_readsleep as described in <hurd/io.defs>
Semantics of ordinary files say this shouldn't happen, because
we never set use_read_size in the shared data. */
-error_t
+kern_return_t
diskfs_S_io_readsleep (struct protid *cred)
{
if (!cred)
@@ -34,7 +34,7 @@ diskfs_S_io_readsleep (struct protid *cred)
/* Implement io_eofnotify as described in <hurd/io.defs>.
We don't use this feature. */
-error_t
+kern_return_t
diskfs_S_io_eofnotify (struct protid *cred)
{
if (!cred)
@@ -45,15 +45,16 @@ diskfs_S_io_eofnotify (struct protid *cred)
/* Implement io_postnotify as described in <hurd/io.defs>.
We don't use this feature. */
-error_t
-diskfs_S_io_postnotify (struct protid *cred, int start, int end)
+kern_return_t
+diskfs_S_io_postnotify (struct protid *cred,
+ vm_offset_t start, vm_offset_t end)
{
return cred ? 0 : EOPNOTSUPP;
}
/* Implement io_readnotify as described in <hurd/io.defs>.
We don't use this feature. */
-error_t
+kern_return_t
diskfs_S_io_readnotify (struct protid *cred)
{
return cred ? 0 : EOPNOTSUPP;
@@ -62,7 +63,7 @@ diskfs_S_io_readnotify (struct protid *cred)
/* Implement io_sigio as described in <hurd/io.defs>.
We do this (in theory) but async IO is implemented here yet. */
-error_t
+kern_return_t
diskfs_S_io_sigio (struct protid *cred)
{
if (!cred)