]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-mmap.c
Use pkg-config to handle library dependencies.
[libucw.git] / lib / fb-mmap.c
index 28e90df47ca10b9afdfe70cce0f87f6b610deed0..3a82a92accec38459d934f85538d227daf98b691 100644 (file)
@@ -166,7 +166,7 @@ bfmm_config(struct fastbuf *f, uns item, int value)
 }
 
 static struct fastbuf *
-bfmmopen_internal(int fd, const byte *name, uns mode)
+bfmmopen_internal(int fd, const char *name, uns mode)
 {
   int namelen = strlen(name) + 1;
   struct fb_mmap *F = xmalloc(sizeof(struct fb_mmap) + namelen);
@@ -190,7 +190,7 @@ bfmmopen_internal(int fd, const byte *name, uns mode)
 }
 
 struct fastbuf *
-bopen_mm(const byte *name, uns mode)
+bopen_mm(const char *name, uns mode)
 {
   int fd;