/*
- * Sherlock Library -- Mapping of Files
+ * UCW Library -- Mapping of Files
*
* (c) 1999--2002 Martin Mares <mj@ucw.cz>
*
#include <sys/mman.h>
void *
-mmap_file(byte *name, unsigned *len, int writeable)
+mmap_file(const char *name, unsigned *len, int writeable)
{
int fd = open(name, writeable ? O_RDWR : O_RDONLY);
struct stat st;