Skip to content

Commit

Permalink
Mark R_init_xml2 as visible
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Nov 17, 2024
1 parent bd8a5c6 commit fb7dba0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <stdlib.h> // for NULL
#include <R_ext/Rdynload.h>
#include <R_ext/Visibility.h>

/* FIXME:
Check these declarations against the C/Fortran source code.
Expand Down Expand Up @@ -141,7 +142,7 @@ static const R_CallMethodDef CallEntries[] = {
{NULL, NULL, 0}
};

void R_init_xml2(DllInfo *dll)
attribute_visible void R_init_xml2(DllInfo *dll)
{
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
Expand Down

0 comments on commit fb7dba0

Please sign in to comment.