projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf: compile plugin as C++
[babeltrace.git]
/
src
/
compat
/
mman.h
diff --git
a/src/compat/mman.h
b/src/compat/mman.h
index 3f03d4900d4f2b8c0d962240cd38001435067c3a..a9568c6bc99729ddf831a20660ba24777beea2b4 100644
(file)
--- a/
src/compat/mman.h
+++ b/
src/compat/mman.h
@@
-29,16
+29,16
@@
* Note that some platforms (e.g. Windows) do not allow read-only
* mappings to exceed the file's size (even within a page).
*/
* Note that some platforms (e.g. Windows) do not allow read-only
* mappings to exceed the file's size (even within a page).
*/
-void *bt_mmap(void *addr, size_t length, int prot, int flags, int fd,
+
BT_EXTERN_C
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);
-int bt_munmap(void *addr, size_t length);
+
BT_EXTERN_C
int bt_munmap(void *addr, size_t length);
/*
* On Windows the memory mapping offset must be aligned to the memory
* allocator allocation granularity and not the page size.
*/
/*
* On Windows the memory mapping offset must be aligned to the memory
* allocator allocation granularity and not the page size.
*/
-size_t bt_mmap_get_offset_align_size(int log_level);
+
BT_EXTERN_C
size_t bt_mmap_get_offset_align_size(int log_level);
#else /* __MINGW32__ */
#else /* __MINGW32__ */
This page took
0.027664 seconds
and
4
git commands to generate.