projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use dynamic shared libraries, list formats
[babeltrace.git]
/
formats
/
ctf
/
ctf.c
diff --git
a/formats/ctf/ctf.c
b/formats/ctf/ctf.c
index 580133cc86c873fef4225e0bf3fbd65ff2019bb8..57357b792aa2a117f2242464e429f8adc4e659ff 100644
(file)
--- a/
formats/ctf/ctf.c
+++ b/
formats/ctf/ctf.c
@@
-19,8
+19,6
@@
#include <babeltrace/format.h>
#include <babeltrace/ctf/types.h>
#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,
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,
};
.sequence_end = ctf_sequence_end,
};
-void ctf_init(void)
+void
__attribute__((constructor))
ctf_init(void)
{
int ret;
{
int ret;
This page took
0.023304 seconds
and
4
git commands to generate.