summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-25 19:01:32 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-25 19:01:32 +0000
commita3395cefe73dc8f00de052424be0631f2c471550 (patch)
tree15a612436f390d476d531f666f9a00bc448ff8d0
parent5f618820a122f7d5e7c9a6c29c43d94fb8cfef4e (diff)
Formerly io-modes-set.c.~3~
-rw-r--r--libtrivfs/io-modes-set.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libtrivfs/io-modes-set.c b/libtrivfs/io-modes-set.c
index 9a74d74e..9eaf0a37 100644
--- a/libtrivfs/io-modes-set.c
+++ b/libtrivfs/io-modes-set.c
@@ -19,8 +19,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
+#include "priv.h"
+#include <assert.h>
+
error_t
-trivfs_S_io_set_all_openmodes (struct protid *cred,
+trivfs_S_io_set_all_openmodes (struct trivfs_protid *cred,
int mode)
{
assert (!trivfs_support_read && !trivfs_support_write);