X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcompat%2Fmman.h;h=5aaab7602f2c4d111e8ad4bfca41ade7cfe9593c;hb=ecd7492f21a492b70569d5ecc1d3a808241b63f0;hp=0053e3071cf7dbcdeb8512eddd821a26827b042d;hpb=dd420a9b3f83cda6f77e8813165a061856d9d618;p=babeltrace.git diff --git a/src/compat/mman.h b/src/compat/mman.h index 0053e307..5aaab760 100644 --- a/src/compat/mman.h +++ b/src/compat/mman.h @@ -48,7 +48,7 @@ BT_EXTERN_C size_t bt_mmap_get_offset_align_size(int log_level); static inline void *bt_mmap(void *addr, size_t length, int prot, int flags, int fd, - off_t offset, int log_level) + off_t offset, int log_level __attribute__((unused))) { return (void *) mmap(addr, length, prot, flags, fd, offset); }