libroot: Revert changes to hide BeOS-only functions.

I wasn't thinking correctly when I made the previous change --
init_term_dyn is compiled into all applications, and so these
functions need to remain in order to not break them.
This commit is contained in:
Augustin Cavalier
2019-02-02 18:09:28 -05:00
parent 89b5768731
commit fa03522846
2 changed files with 8 additions and 10 deletions
+7 -8
View File
@@ -82,13 +82,6 @@ initialize_before(image_id imageID)
}
void
terminate_after(image_id id)
{
__heap_terminate_after();
}
#ifdef _BEOS_R5_COMPATIBLE_
void _init_c_library_(void);
void
_init_c_library_(void)
@@ -98,4 +91,10 @@ _init_c_library_(void)
// Our libroot functions are already initialized above, so we don't have to
// do anything here.
}
#endif
void
terminate_after(image_id id)
{
__heap_terminate_after();
}
+1 -2
View File
@@ -489,7 +489,6 @@ __flatten_process_args(const char* const* args, int32 argCount,
}
#ifdef _BEOS_R5_COMPATIBLE_
extern "C" void _call_init_routines_(void);
void
_call_init_routines_(void)
@@ -497,4 +496,4 @@ _call_init_routines_(void)
// This is called by the original BeOS startup code.
// We don't need it, because our loader already does the job, right?
}
#endif