Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and

the _kern_ioctl() syscall from ulong to uint32.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-05-24 21:04:22 +00:00
parent d34daac82a
commit 9d570af7c8
19 changed files with 23 additions and 26 deletions
@@ -1490,8 +1490,6 @@
////////////////////////////////////////////////////////////////////////////////
// #pragma mark - fssh_types.h
#define ulong fssh_ulong
#define addr_t fssh_addr_t
#define phys_addr_t fssh_phys_addr_t
+1 -1
View File
@@ -157,7 +157,7 @@ struct fssh_fs_vnode_ops {
/* common operations */
fssh_status_t (*ioctl)(fssh_fs_volume *volume, fssh_fs_vnode *vnode,
fssh_fs_cookie cookie, fssh_ulong op, void *buffer,
fssh_fs_cookie cookie, uint32_t op, void *buffer,
fssh_size_t length);
fssh_status_t (*set_flags)(fssh_fs_volume *volume, fssh_fs_vnode *vnode,
fssh_fs_cookie cookie, int flags);
+1 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2007-2010, Ingo Weinhold, [email protected].de.
* Copyright 2007-2010, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _FSSH_TYPES_H
@@ -9,7 +9,6 @@
#include <inttypes.h>
typedef uint32_t fssh_ulong;
typedef volatile int32_t vint32_t;
typedef volatile int64_t vint64_t;