summaryrefslogtreecommitdiff
path: root/libtrivfs/io-modes-set.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/io-modes-set.c')
-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);