projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup: function attribute 'constructor'
[lttng-ust.git]
/
liblttng-ust-ctl
/
ustctl.c
diff --git
a/liblttng-ust-ctl/ustctl.c
b/liblttng-ust-ctl/ustctl.c
index 9acce7a99b9d55fac380fb782c7f70e4e78f8e62..ecfed8c77770115ef556795cf20a9b3deafbbfb0 100644
(file)
--- a/
liblttng-ust-ctl/ustctl.c
+++ b/
liblttng-ust-ctl/ustctl.c
@@
-2900,7
+2900,10
@@
int ustctl_counter_clear(struct ustctl_daemon_counter *counter,
return counter->ops->counter_clear(counter->counter, dimension_indexes);
}
-static __attribute__((constructor))
+static
+void ustctl_init(void)
+ __attribute__((constructor));
+static
void ustctl_init(void)
{
ust_err_init();
This page took
0.022757 seconds
and
4
git commands to generate.