summaryrefslogtreecommitdiff
path: root/device/blkio.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-05-02 14:05:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-05-02 14:05:52 +0200
commit8ab33477c2009b998c781111ba53d38f3c90e427 (patch)
tree1d7dd39294c660b34e9392131ed46c31a4092f79 /device/blkio.h
parent7e0774107ef80938fdc9ab6e5d4808bcfdaf8ce9 (diff)
Fix block_io_mmap prototype
* device/blkio.c (block_io_mmap): Fix prototype of dummy function. * device/blkio.h (block_io_mmap): Likewise.
Diffstat (limited to 'device/blkio.h')
-rw-r--r--device/blkio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/blkio.h b/device/blkio.h
index 13a1669..77eb105 100644
--- a/device/blkio.h
+++ b/device/blkio.h
@@ -19,6 +19,6 @@
#ifndef _DEVICE_BLKIO_H_
#define _DEVICE_BLKIO_H_
-extern vm_offset_t block_io_mmap(void);
+extern int block_io_mmap(dev_t dev, vm_offset_t off, int prot);
#endif /* _DEVICE_BLKIO_H_ */