Add SPDX info for `tests/utils/python/typing/typing.py`
[babeltrace.git] / tests / utils / common.c
index 1878d777d3eba4b78f43523a4dcc8f48fd8719a0..8c5e850722d545017fb4deccb9226f5d0dedd465 100644 (file)
@@ -1,24 +1,13 @@
 /*
- * 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"
+
 #include <unistd.h>
 #include <stdio.h>
 #include <dirent.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.023417 seconds and 4 git commands to generate.