Do not use __attribute__((constructor))
[lttv.git] / lttv / lttv / sync / event_matching_broadcast.c
index 968856979b157496dcd6c00ac5c2d64e7740c758..1bc5d75e510492a5e18006ab97490d2cf154009e 100644 (file)
@@ -43,8 +43,6 @@ static void writeMatchingGraphsPlotsBroadcast(SyncState* const syncState, const
        unsigned int i, const unsigned int j);
 
 // Functions specific to this module
-static void registerMatchingBroadcast() __attribute__((constructor (101)));
-
 static void partialDestroyMatchingBroadcast(SyncState* const syncState);
 
 static void openGraphDataFiles(SyncState* const syncState);
@@ -71,7 +69,7 @@ static MatchingModule matchingModuleBroadcast = {
 /*
  * Matching module registering function
  */
-static void registerMatchingBroadcast()
+void registerMatchingBroadcast()
 {
        g_queue_push_tail(&matchingModules, &matchingModuleBroadcast);
 }
This page took 0.023226 seconds and 4 git commands to generate.