Added const to fill_buffer

This commit is contained in:
Michael Brown
2005-05-17 14:34:46 +00:00
parent 5ae60bd95d
commit 40c7b127aa
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ static inline void unfree_block ( struct buffer *buffer,
*
* Returns 1 for success, 0 for failure (e.g. buffer too small).
*/
int fill_buffer ( struct buffer *buffer, void *data,
int fill_buffer ( struct buffer *buffer, const void *data,
off_t offset, size_t len ) {
struct buffer_free_block desc;
physaddr_t block, prev_block;