Use dynamic shared libraries, list formats
[babeltrace.git] / formats / ctf / ctf.c
index 580133cc86c873fef4225e0bf3fbd65ff2019bb8..57357b792aa2a117f2242464e429f8adc4e659ff 100644 (file)
@@ -19,8 +19,6 @@
 #include <babeltrace/format.h>
 #include <babeltrace/ctf/types.h>
 
-void __attribute__((constructor)) ctf_init(void);
-
 static struct format ctf_format = {
        .uint_read = ctf_uint_read,
        .int_read = ctf_int_read,
@@ -45,7 +43,7 @@ static struct format ctf_format = {
        .sequence_end = ctf_sequence_end,
 };
 
-void ctf_init(void)
+void __attribute__((constructor)) ctf_init(void)
 {
        int ret;
 
This page took 0.02279 seconds and 4 git commands to generate.