tests/utils/utils.sh: gen_mctf_trace() -> bt_gen_mctf_trace()
[babeltrace.git] / tests / utils / common.c
index dbc63d97f47d00311491724d8bc443f8f4ca9bbb..8c5e850722d545017fb4deccb9226f5d0dedd465 100644 (file)
@@ -1,22 +1,9 @@
 /*
- * common.c
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * Lib BabelTrace - Common function to all tests
- *
- * Copyright 2012 - Yannick Brosseau <yannick.brosseau@gmail.com>
- *
- * 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.
+ * Copyright (C) 2012 Yannick Brosseau <yannick.brosseau@gmail.com>
  *
- * 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.
+ * Lib BabelTrace - Common function to all tests
  */
 
 #include "common.h"
 #define RMDIR_NFDOPEN 8
 
 static
-int nftw_recursive_rmdir(const char *file, const struct stat *sb, int flag,
-               struct FTW *s)
+int nftw_recursive_rmdir(const char *file,
+               const struct stat *sb __attribute__((unused)),
+               int flag,
+               struct FTW *s __attribute__((unused)))
 {
        switch (flag) {
        case FTW_F:
This page took 0.023212 seconds and 4 git commands to generate.