From 877534ad9e2d4beed1e6020ce4542b916ecb0bf4 Mon Sep 17 00:00:00 2001 From: hno <> Date: Thu, 18 Oct 2001 01:33:06 +0000 Subject: [PATCH] Many small warning fixes, mostly const related --- src/fs/aufs/aiops.cc | 13 +------------ src/fs/diskd/store_dir_diskd.cc | 4 ++-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/fs/aufs/aiops.cc b/src/fs/aufs/aiops.cc index ef24365f99..0253719c2c 100644 --- a/src/fs/aufs/aiops.cc +++ b/src/fs/aufs/aiops.cc @@ -1,5 +1,5 @@ /* - * $Id: aiops.cc,v 1.10 2001/10/17 12:41:54 hno Exp $ + * $Id: aiops.cc,v 1.11 2001/10/17 19:33:06 hno Exp $ * * DEBUG: section 43 AIOPS * AUTHOR: Stewart Forster @@ -109,17 +109,6 @@ struct squidaio_thread_t { unsigned long requests; }; -int squidaio_cancel(squidaio_result_t *); -int squidaio_open(const char *, int, mode_t, squidaio_result_t *); -int squidaio_read(int, char *, int, off_t, int, squidaio_result_t *); -int squidaio_write(int, char *, int, off_t, int, squidaio_result_t *); -int squidaio_close(int, squidaio_result_t *); -int squidaio_unlink(const char *, squidaio_result_t *); -int squidaio_truncate(const char *, off_t length, squidaio_result_t *); -int squidaio_opendir(const char *, squidaio_result_t *); -squidaio_result_t *squidaio_poll_done(); -int squidaio_sync(void); - static void squidaio_init(void); static void squidaio_queue_request(squidaio_request_t *); static void squidaio_cleanup_request(squidaio_request_t *); diff --git a/src/fs/diskd/store_dir_diskd.cc b/src/fs/diskd/store_dir_diskd.cc index 107fb7476f..839c8574aa 100644 --- a/src/fs/diskd/store_dir_diskd.cc +++ b/src/fs/diskd/store_dir_diskd.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir_diskd.cc,v 1.55 2001/10/17 15:00:54 hno Exp $ + * $Id: store_dir_diskd.cc,v 1.56 2001/10/17 19:33:06 hno Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -363,7 +363,7 @@ storeDiskdDirInit(SwapDir * sd) int i; int rfd; int ikey; - char *args[5]; + const char *args[5]; char skey1[32]; char skey2[32]; char skey3[32]; -- 2.47.2