projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide internal functions of libbabeltrace-ctf
[babeltrace.git]
/
formats
/
ctf
/
types
/
float.c
diff --git
a/formats/ctf/types/float.c
b/formats/ctf/types/float.c
index 0cf9caeb6c7795212c53dc7d540c1a9fdd53b36e..054e262452dc5edae4661950b43429b75e73924d 100644
(file)
--- a/
formats/ctf/types/float.c
+++ b/
formats/ctf/types/float.c
@@
-96,7
+96,7
@@
static void float_unlock(void)
assert(!ret);
}
assert(!ret);
}
-int _ctf_float_copy(struct stream_pos *destp,
+
static
int _ctf_float_copy(struct stream_pos *destp,
struct definition_float *dest_definition,
struct stream_pos *srcp,
const struct definition_float *src_definition)
struct definition_float *dest_definition,
struct stream_pos *srcp,
const struct definition_float *src_definition)
@@
-278,6
+278,7
@@
end:
return ret;
}
return ret;
}
+static
void __attribute__((constructor)) ctf_float_init(void)
{
static_float_declaration =
void __attribute__((constructor)) ctf_float_init(void)
{
static_float_declaration =
@@
-292,6
+293,7
@@
void __attribute__((constructor)) ctf_float_init(void)
__alignof__(double));
}
__alignof__(double));
}
+static
void __attribute__((destructor)) ctf_float_fini(void)
{
declaration_unref(&static_float_declaration->p);
void __attribute__((destructor)) ctf_float_fini(void)
{
declaration_unref(&static_float_declaration->p);
This page took
0.024634 seconds
and
4
git commands to generate.