From 21b38c37c06a196f6dc02bb0a31d895301ea5cd1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 10 Jun 2008 21:52:51 +0000 Subject: * dev.c (dev_buf_rw, buffered_rw, dev_rw): Remove inline qualifier from parameters `buf_rw'. --- storeio/ChangeLog | 5 +++++ storeio/dev.c | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/storeio/ChangeLog b/storeio/ChangeLog index e14aaed4..fbfc8aba 100644 --- a/storeio/ChangeLog +++ b/storeio/ChangeLog @@ -1,3 +1,8 @@ +2008-06-10 Samuel Thibault + + * dev.c (dev_buf_rw, buffered_rw, dev_rw): Remove inline qualifier from + parameters `buf_rw'. + 2006-06-15 Thomas Schwinge * open.c (open_seek): Seek into the correct direction for `SEEK_END'. diff --git a/storeio/dev.c b/storeio/dev.c index 9a9694b2..901e8740 100644 --- a/storeio/dev.c +++ b/storeio/dev.c @@ -100,8 +100,8 @@ dev_buf_fill (struct dev *dev, off_t offs) /* Do an in-buffer partial-block I/O operation. */ static error_t dev_buf_rw (struct dev *dev, size_t buf_offs, size_t *io_offs, size_t *len, - inline error_t (*const buf_rw) (size_t buf_offs, - size_t io_offs, size_t len)) + error_t (*const buf_rw) (size_t buf_offs, + size_t io_offs, size_t len)) { size_t block_size = dev->store->block_size; @@ -230,11 +230,11 @@ dev_sync(struct dev *dev, int wait) and RAW_RW to do I/O directly to DEV's store. */ static inline error_t buffered_rw (struct dev *dev, off_t offs, size_t len, size_t *amount, - inline error_t (* const buf_rw) (size_t buf_offs, - size_t io_offs, size_t len), - inline error_t (* const raw_rw) (off_t offs, - size_t io_offs, size_t len, - size_t *amount)) + error_t (* const buf_rw) (size_t buf_offs, + size_t io_offs, size_t len), + error_t (* const raw_rw) (off_t offs, + size_t io_offs, size_t len, + size_t *amount)) { error_t err = 0; unsigned block_mask = dev->block_mask; @@ -291,11 +291,11 @@ buffered_rw (struct dev *dev, off_t offs, size_t len, size_t *amount, buffered in DEV, and RAW_RW to do I/O directly to DEV's store. */ static inline error_t dev_rw (struct dev *dev, off_t offs, size_t len, size_t *amount, - inline error_t (* const buf_rw) (size_t buf_offs, - size_t io_offs, size_t len), - inline error_t (* const raw_rw) (off_t offs, - size_t io_offs, size_t len, - size_t *amount)) + error_t (* const buf_rw) (size_t buf_offs, + size_t io_offs, size_t len), + error_t (* const raw_rw) (off_t offs, + size_t io_offs, size_t len, + size_t *amount)) { error_t err; unsigned block_mask = dev->block_mask; -- cgit v1.2.3