From bb92967cd6ae5888c071f8f2c8441825270ef2ba Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 May 2008 00:06:25 +0000 Subject: *** empty log message *** --- config.h.in | 2 +- eio.c | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/config.h.in b/config.h.in index fbb6ab3..960d7aa 100644 --- a/config.h.in +++ b/config.h.in @@ -1,4 +1,4 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ +/* libeio/config.h.in. Generated from configure.ac by autoheader. */ /* fdatasync(2) is available */ #undef HAVE_FDATASYNC diff --git a/eio.c b/eio.c index eb62d71..8cd9cc6 100644 --- a/eio.c +++ b/eio.c @@ -2,19 +2,16 @@ #include "xthread.h" #include - -#include "EXTERN.h" -#include "perl.h" -#include "XSUB.h" - #include #include +#include #include #include #include #include #include #include +#include #ifndef EIO_FINISH # define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0 @@ -573,7 +570,7 @@ static ssize_t aio_readahead (int fd, off_t offset, size_t count, worker *self) { size_t len = todo < EIO_BUFSIZE ? todo : EIO_BUFSIZE; - pread (fd, aio_buf, len, offset); + pread (fd, eio_buf, len, offset); offset += len; todo -= len; } -- cgit v1.2.3