diff --git a/src/gc-stock.c b/src/gc-stock.c index 75a30036b1d5e..d61d9387fe143 100644 --- a/src/gc-stock.c +++ b/src/gc-stock.c @@ -9,7 +9,6 @@ #include "julia_atomics.h" #include "julia_gcext.h" #include "julia_assert.h" -#include "jloptions.h" #ifdef __GLIBC__ #include // for malloc_trim #endif diff --git a/src/jloptions.h b/src/jloptions.h index 66667a100c23d..aac2a64a373a8 100644 --- a/src/jloptions.h +++ b/src/jloptions.h @@ -64,6 +64,4 @@ typedef struct { int8_t trace_compile_timing; } jl_options_t; -uint64_t parse_heap_size_hint(const char *optarg, const char *option_name); - #endif diff --git a/src/julia.h b/src/julia.h index caa938ffeb0d6..f09afc8479564 100644 --- a/src/julia.h +++ b/src/julia.h @@ -2505,6 +2505,8 @@ JL_DLLEXPORT ssize_t jl_sizeof_jl_options(void); JL_DLLEXPORT void jl_parse_opts(int *argcp, char ***argvp); JL_DLLEXPORT char *jl_format_filename(const char *output_pattern); +uint64_t parse_heap_size_hint(const char *optarg, const char *option_name); + // Set julia-level ARGS array according to the arguments provided in // argc/argv JL_DLLEXPORT void jl_set_ARGS(int argc, char **argv);