lttng: Add list-triggers command
[lttng-tools.git] / src / bin / lttng / commands / version.c
index 37ab106263496685f4e71a368a600af19a34b2b7..9f606bf44396bcad8a8e60dfc54662a044356f3d 100644 (file)
@@ -1,18 +1,8 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2 only,
- * as published by the Free Software Foundation.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #define _LGPL_SOURCE
@@ -66,7 +56,7 @@ static void create_version(struct mi_lttng_version *version)
 /*
  * Print the machine interface output of this command.
  */
-static int print_mi()
+static int print_mi(void)
 {
        int ret = CMD_SUCCESS;
        struct mi_writer *writer = NULL;
This page took 0.023719 seconds and 4 git commands to generate.