compat: remove unused `addr` parameter from bt_mmap
[babeltrace.git] / src / compat / mman.c
index 1cc1c44c8380f571284cc6e3948b1c8f72fce2e2..79ff759901bebb5240676ee3db8486e9c4406b4f 100644 (file)
@@ -152,8 +152,8 @@ DWORD map_prot_flags(int prot, DWORD *dwDesiredAccess)
        return 0;
 }
 
-void *bt_mmap(void *addr __attribute__((unused)), size_t length, int prot,
-               int flags, int fd, off_t offset, int log_level)
+void *bt_mmap(size_t length, int prot, int flags, int fd, off_t offset,
+               int log_level)
 {
        struct mmap_mapping *mapping = NULL;
        void *mapping_addr;
This page took 0.02408 seconds and 4 git commands to generate.