markers: fix: teardown should be tagged with "destructor" attribute
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2011 16:39:54 +0000 (11:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2011 16:41:20 +0000 (11:41 -0500)
..rather than "constructor", which led to the core markers being removed from
the list before doing anything useful.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/marker.c

index dafa0d7207cfd1dd4bf6bf29199286f9ba1c473f..19baba08392bfe73be89ef2fef5d9c2f1aece28d 100644 (file)
@@ -1423,7 +1423,7 @@ void __attribute__((constructor)) init_markers(void)
        }
 }
 
-void __attribute__((constructor)) destroy_markers(void)
+void __attribute__((destructor)) destroy_markers(void)
 {
        marker_unregister_lib(__start___markers_ptrs);
 }
This page took 0.025858 seconds and 4 git commands to generate.