Fix: missing "void" parameter of lib constructor and destructor
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl.c
index d0deade2e5b2d0216c5012153d7b587b744ae9eb..0ae6b0b6eb2cd2db217809a4d7ec2f9fecff52d9 100644 (file)
@@ -2413,7 +2413,7 @@ end:
 /*
  * lib constructor.
  */
-static void __attribute__((constructor)) init()
+static void __attribute__((constructor)) init(void)
 {
        /* Set default session group */
        lttng_set_tracing_group(DEFAULT_TRACING_GROUP);
@@ -2422,7 +2422,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);
 }
This page took 0.025794 seconds and 5 git commands to generate.