Skip to content

Commit

Permalink
Remove last traces of 'static compilation' of kernel extension
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jan 3, 2025
1 parent 2af6ae0 commit bbfae9a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/cvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -4546,27 +4546,16 @@ static Int InitLibrary ( StructInitInfo *module )
*F InitInfopl() . . . . . . . . . . . . . . . . . table of init functions
*/
static StructInitInfo module = {
#ifdef CVECSTATIC
.type = MODULE_STATIC,
#else
.type = MODULE_DYNAMIC,
#endif
.name = "cvec",
.initKernel = InitKernel,
.initLibrary = InitLibrary,
};

#ifndef CVECSTATIC
StructInitInfo * Init__Dynamic ( void )
{
return &module;
}
#endif

StructInitInfo * Init__cvec ( void )
{
return &module;
}

/* Here is a sketch of a proof that there are no bugs in this file because
* of garbage collections being triggered and in the sequel references
Expand Down Expand Up @@ -4617,6 +4606,3 @@ StructInitInfo * Init__cvec ( void )
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/



0 comments on commit bbfae9a

Please sign in to comment.