Fix: define _LGPL_SOURCE in C files
[lttng-tools.git] / src / bin / lttng / lttng.c
index a676be825684d5bd70d34753feb72343ef639322..7658afc164668cbb74c1782ff290b169817ffd46 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #define _GNU_SOURCE
+#define _LGPL_SOURCE
 #include <getopt.h>
 #include <signal.h>
 #include <stdio.h>
@@ -83,8 +84,6 @@ static struct cmd_struct commands[] =  {
        { "snapshot", cmd_snapshot},
        { "save", cmd_save},
        { "load", cmd_load},
-       { "enable-consumer", cmd_enable_consumer}, /* OBSOLETE */
-       { "disable-consumer", cmd_disable_consumer}, /* OBSOLETE */
        { NULL, NULL}   /* Array closure */
 };
 
This page took 0.026937 seconds and 5 git commands to generate.