X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.c;h=9fb14f0a518059009b2eb0ef7bc599885790c37d;hb=70d580569745970e4a243f07dfb3abae76d6e526;hp=b190937cc8f42478e51612c3df7abc665e01728f;hpb=f59fac67be2ca857268aa65aaf5984b91a4f82e5;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index b190937cc..9fb14f0a5 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -2033,7 +2033,7 @@ int lttng_list_tracker_pids(struct lttng_handle *handle, /* * lib constructor */ -static void __attribute__((constructor)) init() +static void __attribute__((constructor)) init(void) { /* Set default session group */ lttng_set_tracing_group(DEFAULT_TRACING_GROUP); @@ -2042,7 +2042,7 @@ static void __attribute__((constructor)) init() /* * lib destructor */ -static void __attribute__((destructor)) lttng_ctl_exit() +static void __attribute__((destructor)) lttng_ctl_exit(void) { free(tracing_group); }