From e773126f8a1000b5117121eed8f7d0ab08200a86 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Sat, 16 Nov 2024 23:18:18 -0800 Subject: [PATCH] Mark r_init_fs as visible --- src/init.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/init.cc b/src/init.cc index aa670d5c..bb3ffcb9 100644 --- a/src/init.cc +++ b/src/init.cc @@ -1,6 +1,7 @@ #include // for NULL #include #include +#include #include #include @@ -71,7 +72,7 @@ static const R_CallMethodDef CallEntries[] = { {"fs_strmode_", (DL_FUNC)&fs_strmode_, 1}, {NULL, NULL, 0}}; -void R_init_fs(DllInfo* dll) { +attribute_visible void R_init_fs(DllInfo* dll) { R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); R_useDynamicSymbols(dll, FALSE); }