From: wessels <> Date: Fri, 24 Oct 1997 23:50:37 +0000 (+0000) Subject: From: Arjan de Vet X-Git-Tag: SQUID_3_0_PRE1~4696 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2027ec3be612b5c6f5ac5a450a913ac9b3add480;p=thirdparty%2Fsquid.git From: Arjan de Vet The following patch fixes a bug with tmp_error_buf and makes compilation work when USE_ASYNC_IO is defined. --- diff --git a/src/globals.h b/src/globals.h index 0983df277b..205ff8e3eb 100644 --- a/src/globals.h +++ b/src/globals.h @@ -11,7 +11,7 @@ extern char *IcpOpcodeStr[]; extern char *dns_error_message; /* NULL */ extern const char *log_tags[]; extern const char *err_string[]; -extern char *tmp_error_buf; /* NULL */ +extern char tmp_error_buf[ERROR_BUF_SZ]; extern char *volatile debug_options; /* NULL */ extern char ThisCache[SQUIDHOSTNAMELEN << 1]; extern char config_input_line[BUFSIZ]; diff --git a/src/protos.h b/src/protos.h index 9c5ebf52d2..ef100e7b23 100644 --- a/src/protos.h +++ b/src/protos.h @@ -35,7 +35,7 @@ extern int aio_write _PARAMS((int, char *, int, off_t, int, aio_result_t *)); extern int aio_close _PARAMS((int, aio_result_t *)); extern int aio_stat _PARAMS((const char *, struct stat *, aio_result_t *)); extern int aio_unlink _PARAMS((const char *, aio_result_t *)); -extern int aio_opendir _PARAMS((void)); +extern int aio_opendir _PARAMS((const char *, aio_result_t *)); extern aio_result_t *aio_poll_done _PARAMS((void));