Remove caml_ensure_spacetime_dot_o_is_included
parent
3b1d4dafe0
commit
89ef6199bd
|
@ -19,8 +19,6 @@
|
|||
#include "caml/io.h"
|
||||
#include "caml/spacetime.h"
|
||||
|
||||
int caml_ensure_spacetime_dot_o_is_included = 42;
|
||||
|
||||
CAMLprim value caml_spacetime_only_works_for_native_code(value foo, ...)
|
||||
{
|
||||
caml_failwith("Spacetime profiling only works for native code");
|
||||
|
|
|
@ -330,8 +330,6 @@ extern void caml_install_invalid_parameter_handler();
|
|||
|
||||
#endif
|
||||
|
||||
extern int caml_ensure_spacetime_dot_o_is_included;
|
||||
|
||||
/* Main entry point when loading code from a file */
|
||||
|
||||
CAMLexport void caml_main(char_os **argv)
|
||||
|
@ -344,8 +342,6 @@ CAMLexport void caml_main(char_os **argv)
|
|||
char_os * shared_lib_path, * shared_libs;
|
||||
char_os * exe_name, * proc_self_exe;
|
||||
|
||||
caml_ensure_spacetime_dot_o_is_included++;
|
||||
|
||||
/* Initialize the domain */
|
||||
caml_init_domain();
|
||||
|
||||
|
|
Loading…
Reference in New Issue