summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-24 21:52:56 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-24 21:52:56 +0000
commitb26d6dd0e2af55d3ef06984982fc76afdccdb44e (patch)
tree22df9afa07f216b9fbe9b76fc46795710b8fe318
parent9dd910732d3f35a09a9009863e715074ecb0ccab (diff)
Formerly io-modes-off.c.~2~
-rw-r--r--libtrivfs/io-modes-off.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtrivfs/io-modes-off.c b/libtrivfs/io-modes-off.c
index af81b614..ed542278 100644
--- a/libtrivfs/io-modes-off.c
+++ b/libtrivfs/io-modes-off.c
@@ -20,9 +20,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
#include "priv.h"
+#include "io_S.h"
+#include <assert.h>
-error_t
-trivfs_S_io_clear_some_openmodes (struct protid *cred,
+kern_return_t
+trivfs_S_io_clear_some_openmodes (struct trivfs_protid *cred,
int bits)
{
assert (!trivfs_support_read && !trivfs_support_write);