aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/beam/beam_load.c2
-rw-r--r--erts/emulator/beam/global.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index cc4f5b5893..d3f55a2ba4 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -852,7 +852,7 @@ erts_alloc_loader_state(void)
* in the magic binary, or NIL if the binary does not contain
* prepared code.
*/
-int
+Eterm
erts_module_for_prepared_code(Binary* magic)
{
LoaderState* stp;
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 53a73fd762..6eac0db363 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -873,7 +873,7 @@ typedef struct {
} FunctionInfo;
Binary* erts_alloc_loader_state(void);
-int erts_module_for_prepared_code(Binary* magic);
+Eterm erts_module_for_prepared_code(Binary* magic);
Eterm erts_prepare_loading(Binary* loader_state, Process *c_p,
Eterm group_leader, Eterm* modp,
byte* code, Uint size);