aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_mmap.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-22 14:57:39 +0100
committerSverker Eriksson <[email protected]>2016-11-22 14:57:39 +0100
commit0e2bde208e45bb24ae3d9fcd3db94b93882ecaec (patch)
treea6334828227fda954756453474429335aca89cd9 /erts/emulator/sys/common/erl_mmap.h
parent9563cd5b296fe589c8abe357710fbb79bc766d09 (diff)
parentb62020124b3294be021d0d62073ba34cda1ae742 (diff)
downloadotp-0e2bde208e45bb24ae3d9fcd3db94b93882ecaec.tar.gz
otp-0e2bde208e45bb24ae3d9fcd3db94b93882ecaec.tar.bz2
otp-0e2bde208e45bb24ae3d9fcd3db94b93882ecaec.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/sys/common/erl_mmap.h')
-rw-r--r--erts/emulator/sys/common/erl_mmap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/sys/common/erl_mmap.h b/erts/emulator/sys/common/erl_mmap.h
index 1049f7affc..2a07d93c8c 100644
--- a/erts/emulator/sys/common/erl_mmap.h
+++ b/erts/emulator/sys/common/erl_mmap.h
@@ -22,6 +22,7 @@
#define ERL_MMAP_H__
#include "sys.h"
+#include "erl_printf.h"
#define ERTS_MMAP_SUPERALIGNED_BITS (18)
/* Affects hard limits for sbct and lmbcs documented in erts_alloc.xml */
@@ -146,10 +147,10 @@ struct erts_mmap_info_struct
UWord segs[6];
UWord os_used;
};
-Eterm erts_mmap_info(ErtsMemMapper*, int *print_to_p, void *print_to_arg,
+Eterm erts_mmap_info(ErtsMemMapper*, fmtfn_t *print_to_p, void *print_to_arg,
Eterm** hpp, Uint* szp, struct erts_mmap_info_struct*);
Eterm erts_mmap_info_options(ErtsMemMapper*,
- char *prefix, int *print_to_p, void *print_to_arg,
+ char *prefix, fmtfn_t *print_to_p, void *print_to_arg,
Uint **hpp, Uint *szp);