Rename C++ header files to .hpp
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-cxx-binary / userspace-probe-elf-cxx-binary.cpp
index c1f44ee952c43c6d77a92c915a3275180192052c..544628ff9deee18bdf9e45d4c65f1745277e593c 100644 (file)
@@ -1,30 +1,21 @@
 /*
- * Copyright (C) 2018  Francis Deslauriers <francis.deslauriers@efficios.com>
+ * Copyright (C) 2018 Francis Deslauriers <francis.deslauriers@efficios.com>
  *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
+ * SPDX-License-Identifier: LGPL-2.1-or-later
  *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include "test_class.h"
+#include "test_class.hpp"
 
 volatile int not_a_function = 0;
-void __attribute__ ((noinline))  test_cxx_function()
+
+void test_cxx_function() __attribute__ ((noinline));
+void test_cxx_function()
 {
        not_a_function += 1;
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
        test_class my_test_class;
        /* Call test function. */
This page took 0.023222 seconds and 4 git commands to generate.