diff --git a/gapbind14/demo/src/gapbind_demo.cc b/gapbind14/demo/src/gapbind_demo.cc index ff8f05af2..b8ff961c0 100644 --- a/gapbind14/demo/src/gapbind_demo.cc +++ b/gapbind14/demo/src/gapbind_demo.cc @@ -119,18 +119,10 @@ static Int InitLibrary(StructInitInfo* module) { } static StructInitInfo module = { - /* type = */ MODULE_DYNAMIC, - /* name = */ "gapbind_demo", - /* revision_c = */ 0, - /* revision_h = */ 0, - /* version = */ 0, - /* crc = */ 0, - /* initKernel = */ InitKernel, - /* initLibrary = */ InitLibrary, - /* checkInit = */ 0, - /* preSave = */ 0, - /* postSave = */ 0, - /* postRestore = */ 0, + .type = MODULE_DYNAMIC, + .name = "gapbind_demo", + .initKernel = InitKernel, + .initLibrary = InitLibrary, }; extern "C" StructInitInfo* Init__Dynamic(void) { diff --git a/src/pkg.cpp b/src/pkg.cpp index f17295c8c..488ca579f 100644 --- a/src/pkg.cpp +++ b/src/pkg.cpp @@ -509,18 +509,13 @@ static Int InitLibrary(StructInitInfo* module) { /****************************************************************************** *F InitInfopl() . . . . . . . . . . . . . . . . . table of init functions */ -static StructInitInfo module = {/* type = */ MODULE_DYNAMIC, - /* name = */ "semigroups", - /* revision_c = */ 0, - /* revision_h = */ 0, - /* version = */ 0, - /* crc = */ 0, - /* initKernel = */ InitKernel, - /* initLibrary = */ InitLibrary, - /* checkInit = */ 0, - /* preSave = */ 0, - /* postSave = */ 0, - /* postRestore = */ PostRestore}; +static StructInitInfo module = { + .type = MODULE_DYNAMIC, + .name = "semigroups", + .initKernel = InitKernel, + .initLibrary = InitLibrary, + .postRestore = PostRestore, +}; extern "C" StructInitInfo* Init__Dynamic(void) { return &module;