Do not use __attribute__((constructor))
[lttv.git] / lttv / lttv / sync / event_matching_tcp.c
index 9ba8b63265463670db782c8dddb57b72f76890c3..5f3aa934e4c87564945b9d874daf554c9c51522c 100644 (file)
@@ -43,8 +43,6 @@ static void writeMatchingGraphsPlotsTCPMessages(SyncState* const syncState,
        const unsigned int i, const unsigned int j);
 
 // Functions specific to this module
-static void registerMatchingTCP() __attribute__((constructor (101)));
-
 static void matchEvents(SyncState* const syncState, Event* const event,
        GHashTable* const unMatchedList, GHashTable* const
        unMatchedOppositeList, const size_t fieldOffset, const size_t
@@ -79,7 +77,7 @@ static MatchingModule matchingModuleTCP = {
 /*
  * Matching module registering function
  */
-static void registerMatchingTCP()
+void registerMatchingTCP()
 {
        g_queue_push_tail(&matchingModules, &matchingModuleTCP);
 }
This page took 0.026953 seconds and 4 git commands to generate.