summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2011-06-05 22:44:30 +0000
committerroot <root>2011-06-05 22:44:30 +0000
commit562389953303997321d4f4517a27535ed3828c6e (patch)
tree92a8a2d5b1a08f1bbda52d6da4ae55918e57dfec /eio.c
parent71e6cec06527558680f5d779a00d469205fd4567 (diff)
*** empty log message ***
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eio.c b/eio.c
index 07492cd..e066270 100644
--- a/eio.c
+++ b/eio.c
@@ -1780,7 +1780,7 @@ static void eio_execute (etp_worker *self, eio_req *req)
break;
case EIO_CUSTOM:
- ((void (*)(eio_req *))req->feed) (req);
+ req->feed (req);
break;
default:
@@ -2011,9 +2011,9 @@ eio_req *eio_rename (const char *path, const char *new_path, int pri, eio_cb cb,
return eio__2path (EIO_RENAME, path, new_path, pri, cb, data);
}
-eio_req *eio_custom (eio_cb execute, int pri, eio_cb cb, void *data)
+eio_req *eio_custom (void (*)(eio_req *) execute, int pri, eio_cb cb, void *data);
{
- REQ (EIO_CUSTOM); req->feed = (void (*)(eio_req *))execute; SEND;
+ REQ (EIO_CUSTOM); req->feed = execute; SEND;
}
#endif