diff options
author | jcid <devnull@localhost> | 2008-09-14 16:07:12 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-09-14 16:07:12 +0200 |
commit | 8a2b5a9e5b8aad195531603aedbbdd5a9eb98bfa (patch) | |
tree | 6053a7217a9c976c0d1e78bb57c4052ba8353e53 /src/IO | |
parent | 4272ccda16b3d6b8695f01eb3c6ea544a97cbf54 (diff) |
- Made several cleanups according to compiler warnings with "-W -Wall".
Diffstat (limited to 'src/IO')
-rw-r--r-- | src/IO/IO.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c index 8dd3a1ae..adf4dbb4 100644 --- a/src/IO/IO.c +++ b/src/IO/IO.c @@ -259,7 +259,7 @@ static bool_t IO_write(IOData_t *io) * Handle background IO for a given FD (reads | writes) * (This function gets called when there's activity in the FD) */ -static int IO_callback(int fd, IOData_t *io) +static int IO_callback(IOData_t *io) { bool_t ret = FALSE; @@ -288,7 +288,7 @@ static void IO_fd_read_cb(int fd, void *data) a_IOwatch_remove_fd(fd, DIO_READ); } else { - if (IO_callback(fd, io) == 0) + if (IO_callback(io) == 0) a_IOwatch_remove_fd(fd, DIO_READ); } } @@ -307,7 +307,7 @@ static void IO_fd_write_cb(int fd, void *data) a_IOwatch_remove_fd(fd, DIO_WRITE); } else { - if (IO_callback(fd, io) == 0) + if (IO_callback(io) == 0) a_IOwatch_remove_fd(fd, DIO_WRITE); } } |