configure: re-enable '-Wunused-parameter'
[babeltrace.git] / tests / lib / test-plugin-plugins / minimal.c
index 1d7c45b62b5523359f74449aa87342710de0ef56..7f9e016adf7345af4f700b7b0edcca03a758cccb 100644 (file)
@@ -1,25 +1,15 @@
 /*
- * Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; under version 2 of the License.
- *
- * 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.
+ * Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
  */
 
 #include <babeltrace2/babeltrace.h>
 #include <stdlib.h>
 #include <glib.h>
 
-static bt_plugin_initialize_func_status plugin_init(bt_self_plugin *plugin)
+static bt_plugin_initialize_func_status plugin_init(
+               bt_self_plugin *plugin __attribute__((unused)))
 {
        g_setenv("BT_TEST_PLUGIN_INITIALIZE_CALLED", "1", 1);
        return BT_PLUGIN_INITIALIZE_FUNC_STATUS_OK;
This page took 0.024144 seconds and 4 git commands to generate.