From 9601c17fa0eefd89b7e93aa86c9ed6af6d7935a2 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 7 Oct 2010 15:04:14 +0200 Subject: [PATCH] Make binject.h user space friendly Signed-off-by: Jens Axboe --- binject.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/binject.h b/binject.h index b3316ca..1e73820 100644 --- a/binject.h +++ b/binject.h @@ -7,15 +7,15 @@ #define BINJECT_VER_MASK ((1 << BINJECT_MAGIC_SHIFT) - 1) struct b_user_cmd { - u16 magic; /* INPUT */ - u16 type; /* INPUT */ - u32 error; /* OUTPUT */ - u32 flags; /* INPUT */ - u32 len; /* INPUT */ - u64 offset; /* INPUT */ - u64 buf; /* INPUT */ - u64 usr_ptr; /* PASSED THROUGH */ - u64 nsec; /* OUTPUT */ + __u16 magic; /* INPUT */ + __u16 type; /* INPUT */ + __u32 error; /* OUTPUT */ + __u32 flags; /* INPUT */ + __u32 len; /* INPUT */ + __u64 offset; /* INPUT */ + __u64 buf; /* INPUT */ + __u64 usr_ptr; /* PASSED THROUGH */ + __u64 nsec; /* OUTPUT */ }; struct b_ioctl_cmd { -- 2.25.1