summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-06-10 21:52:51 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2008-06-10 21:52:51 +0000
commit21b38c37c06a196f6dc02bb0a31d895301ea5cd1 (patch)
tree078e95ba48d09074120acd59d4fc97aaa435e58a
parentd638b01e054dabce587a5ff9a846341b201458b8 (diff)
* dev.c (dev_buf_rw, buffered_rw, dev_rw): Remove inline qualifier from
parameters `buf_rw'.
-rw-r--r--storeio/ChangeLog5
-rw-r--r--storeio/dev.c24
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 <samuel.thibault@ens-lyon.org>
+
+ * dev.c (dev_buf_rw, buffered_rw, dev_rw): Remove inline qualifier from
+ parameters `buf_rw'.
+
2006-06-15 Thomas Schwinge <tschwinge@gnu.org>
* 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;