From c2084e41e890120e8b1f254137080bd647b48183 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 12 Feb 2018 23:49:29 +0100 Subject: [PATCH] Kill useless include files. --- examples/msg/mc/CMakeLists.txt | 2 -- examples/msg/mc/bugged1_liveness.c | 1 - examples/msg/mc/bugged1_liveness.h | 13 ------------- examples/msg/mc/bugged2_liveness.c | 1 - examples/msg/mc/bugged2_liveness.h | 12 ------------ 5 files changed, 29 deletions(-) delete mode 100644 examples/msg/mc/bugged1_liveness.h delete mode 100644 examples/msg/mc/bugged2_liveness.h diff --git a/examples/msg/mc/CMakeLists.txt b/examples/msg/mc/CMakeLists.txt index 2c16afb622..9d1a02e17d 100644 --- a/examples/msg/mc/CMakeLists.txt +++ b/examples/msg/mc/CMakeLists.txt @@ -28,8 +28,6 @@ set(tesh_files ${tesh_files} ${CMAKE_CURRENT_SOURCE_DIR}/bugged1.tesh ${CMAKE_CURRENT_SOURCE_DIR}/centralized_mutex.tesh PARENT_SCOPE) set(xml_files ${xml_files} ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged1_liveness_visited.xml ${CMAKE_CURRENT_SOURCE_DIR}/platform.xml PARENT_SCOPE) -set(examples_src ${examples_src} ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness.h - ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.h PARENT_SCOPE) set(bin_files ${bin_files} ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged1_liveness ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged2_liveness ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness_stack_cleaner PARENT_SCOPE) diff --git a/examples/msg/mc/bugged1_liveness.c b/examples/msg/mc/bugged1_liveness.c index 05da543dc7..cfd16e18ea 100644 --- a/examples/msg/mc/bugged1_liveness.c +++ b/examples/msg/mc/bugged1_liveness.c @@ -17,7 +17,6 @@ #include "simgrid/msg.h" #include "mc/mc.h" -#include "bugged1_liveness.h" XBT_LOG_NEW_DEFAULT_CATEGORY(bugged1_liveness, "my log messages"); diff --git a/examples/msg/mc/bugged1_liveness.h b/examples/msg/mc/bugged1_liveness.h deleted file mode 100644 index eaf06f44fb..0000000000 --- a/examples/msg/mc/bugged1_liveness.h +++ /dev/null @@ -1,13 +0,0 @@ -/* Copyright (c) 2012, 2014. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifndef _BUGGED1_LIVENESS_H -#define _BUGGED1_LIVENESS_H - -int predR(void); -int predCS(void); - -#endif diff --git a/examples/msg/mc/bugged2_liveness.c b/examples/msg/mc/bugged2_liveness.c index 8d4f99b080..b363faf496 100644 --- a/examples/msg/mc/bugged2_liveness.c +++ b/examples/msg/mc/bugged2_liveness.c @@ -12,7 +12,6 @@ #include "simgrid/msg.h" #include "mc/mc.h" -#include "bugged2_liveness.h" XBT_LOG_NEW_DEFAULT_CATEGORY(bugged3, "my log messages"); diff --git a/examples/msg/mc/bugged2_liveness.h b/examples/msg/mc/bugged2_liveness.h deleted file mode 100644 index 787520a42f..0000000000 --- a/examples/msg/mc/bugged2_liveness.h +++ /dev/null @@ -1,12 +0,0 @@ -/* Copyright (c) 2012, 2014. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifndef _BUGGED2_LIVENESS_H -#define _BUGGED2_LIVENESS_H - -int predCS(void); - -#endif -- 2.20.1