projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e49499f
)
No need to cast async_exec() syscall to void * anymore
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 22 Feb 2007 10:11:48 +0000
(11:11 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 22 Feb 2007 10:11:48 +0000
(11:11 +0100)
Ingo forward declared the types.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os-linux.h
patch
|
blob
|
blame
|
history
diff --git
a/os-linux.h
b/os-linux.h
index b147d4f3b340c0fd2bb5f352b469beb97e6b57e7..eb60034cc7d4fad59816925c382b090bdf50a918 100644
(file)
--- a/
os-linux.h
+++ b/
os-linux.h
@@
-91,7
+91,7
@@
struct async_head_user;
static inline struct syslet_uatom *
async_exec(struct syslet_uatom *atom, struct async_head_user *ahu)
{
- return
(void *)
syscall(__NR_async_exec, atom, ahu);
+ return syscall(__NR_async_exec, atom, ahu);
}
static inline long