From 7985815fc4c25c6bfc5d6101cd862138060098b9 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 9 Feb 2012 14:40:12 +0100 Subject: erts: Fix type bug --- erts/emulator/beam/beam_load.c | 2 +- erts/emulator/beam/global.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'erts/emulator/beam') 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); -- cgit v1.2.3