[rtems commit] config: Remove <rtems/btimer.h> include
Sebastian Huber
sebh at rtems.org
Wed Mar 4 08:26:32 UTC 2020
Module: rtems
Branch: master
Commit: fdeaa64e1786e7f18814d8c7eae219332d672c27
Changeset: http://git.rtems.org/rtems/commit/?id=fdeaa64e1786e7f18814d8c7eae219332d672c27
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Mar 3 13:01:56 2020 +0100
config: Remove <rtems/btimer.h> include
The use of CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER does not define
anything, so remove the <rtems/btimer.h> include.
Update #3875.
---
cpukit/include/rtems/confdefs/iodrivers.h | 4 ----
testsuites/tmtests/tm01/task1.c | 2 ++
testsuites/tmtests/tm02/tm02impl.h | 2 ++
testsuites/tmtests/tm03/tm03impl.h | 2 ++
testsuites/tmtests/tm04/task1.c | 2 ++
testsuites/tmtests/tm05/task1.c | 2 ++
testsuites/tmtests/tm06/task1.c | 2 ++
testsuites/tmtests/tm07/task1.c | 2 ++
testsuites/tmtests/tm08/task1.c | 2 ++
testsuites/tmtests/tm09/task1.c | 2 ++
testsuites/tmtests/tm10/task1.c | 2 ++
testsuites/tmtests/tm11/task1.c | 2 ++
testsuites/tmtests/tm12/task1.c | 2 ++
testsuites/tmtests/tm13/task1.c | 2 ++
testsuites/tmtests/tm14/task1.c | 2 ++
testsuites/tmtests/tm15/task1.c | 2 ++
testsuites/tmtests/tm16/task1.c | 2 ++
testsuites/tmtests/tm17/task1.c | 2 ++
testsuites/tmtests/tm18/task1.c | 2 ++
testsuites/tmtests/tm19/task1.c | 2 ++
testsuites/tmtests/tm20/task1.c | 2 ++
testsuites/tmtests/tm21/task1.c | 2 ++
testsuites/tmtests/tm22/task1.c | 2 ++
testsuites/tmtests/tm23/task1.c | 2 ++
testsuites/tmtests/tm24/task1.c | 2 ++
testsuites/tmtests/tm25/task1.c | 2 ++
testsuites/tmtests/tm26/task1.c | 1 +
testsuites/tmtests/tm27/task1.c | 1 +
testsuites/tmtests/tm28/task1.c | 2 ++
testsuites/tmtests/tm29/task1.c | 2 ++
testsuites/tmtests/tmck/task1.c | 2 ++
testsuites/tmtests/tmoverhd/testtask.c | 2 ++
32 files changed, 60 insertions(+), 4 deletions(-)
diff --git a/cpukit/include/rtems/confdefs/iodrivers.h b/cpukit/include/rtems/confdefs/iodrivers.h
index 7ebe2ed..7586fb0 100644
--- a/cpukit/include/rtems/confdefs/iodrivers.h
+++ b/cpukit/include/rtems/confdefs/iodrivers.h
@@ -65,10 +65,6 @@
#include <rtems/console.h>
#endif
-#ifdef CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER
- #include <rtems/btimer.h>
-#endif
-
#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER
#include <rtems/rtc.h>
#endif
diff --git a/testsuites/tmtests/tm01/task1.c b/testsuites/tmtests/tm01/task1.c
index ce19c5a..052c145 100644
--- a/testsuites/tmtests/tm01/task1.c
+++ b/testsuites/tmtests/tm01/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm02/tm02impl.h b/testsuites/tmtests/tm02/tm02impl.h
index 8fe1bfd..5a08600 100644
--- a/testsuites/tmtests/tm02/tm02impl.h
+++ b/testsuites/tmtests/tm02/tm02impl.h
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm03/tm03impl.h b/testsuites/tmtests/tm03/tm03impl.h
index 50bbe1b..9140695 100644
--- a/testsuites/tmtests/tm03/tm03impl.h
+++ b/testsuites/tmtests/tm03/tm03impl.h
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm04/task1.c b/testsuites/tmtests/tm04/task1.c
index af78e94..d99ade5 100644
--- a/testsuites/tmtests/tm04/task1.c
+++ b/testsuites/tmtests/tm04/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm05/task1.c b/testsuites/tmtests/tm05/task1.c
index 4784e36..f385088 100644
--- a/testsuites/tmtests/tm05/task1.c
+++ b/testsuites/tmtests/tm05/task1.c
@@ -11,6 +11,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm06/task1.c b/testsuites/tmtests/tm06/task1.c
index 4983f5d..8158800 100644
--- a/testsuites/tmtests/tm06/task1.c
+++ b/testsuites/tmtests/tm06/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm07/task1.c b/testsuites/tmtests/tm07/task1.c
index f54388f..84acbb8 100644
--- a/testsuites/tmtests/tm07/task1.c
+++ b/testsuites/tmtests/tm07/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm08/task1.c b/testsuites/tmtests/tm08/task1.c
index 5d013a6..f7cf987 100644
--- a/testsuites/tmtests/tm08/task1.c
+++ b/testsuites/tmtests/tm08/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm09/task1.c b/testsuites/tmtests/tm09/task1.c
index 8f7edf3..c95fdd6 100644
--- a/testsuites/tmtests/tm09/task1.c
+++ b/testsuites/tmtests/tm09/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm10/task1.c b/testsuites/tmtests/tm10/task1.c
index c5e7d6e..137507b 100644
--- a/testsuites/tmtests/tm10/task1.c
+++ b/testsuites/tmtests/tm10/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm11/task1.c b/testsuites/tmtests/tm11/task1.c
index 23f78d9..c51c66a 100644
--- a/testsuites/tmtests/tm11/task1.c
+++ b/testsuites/tmtests/tm11/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm12/task1.c b/testsuites/tmtests/tm12/task1.c
index 9892fbf..aa756f1 100644
--- a/testsuites/tmtests/tm12/task1.c
+++ b/testsuites/tmtests/tm12/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm13/task1.c b/testsuites/tmtests/tm13/task1.c
index a9962cb..3dfa1e2 100644
--- a/testsuites/tmtests/tm13/task1.c
+++ b/testsuites/tmtests/tm13/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm14/task1.c b/testsuites/tmtests/tm14/task1.c
index 64003c2..289f140 100644
--- a/testsuites/tmtests/tm14/task1.c
+++ b/testsuites/tmtests/tm14/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm15/task1.c b/testsuites/tmtests/tm15/task1.c
index 6573e67..66a90e1 100644
--- a/testsuites/tmtests/tm15/task1.c
+++ b/testsuites/tmtests/tm15/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm16/task1.c b/testsuites/tmtests/tm16/task1.c
index 0b7c533..2f44cbf 100644
--- a/testsuites/tmtests/tm16/task1.c
+++ b/testsuites/tmtests/tm16/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm17/task1.c b/testsuites/tmtests/tm17/task1.c
index f43d686..b073bce 100644
--- a/testsuites/tmtests/tm17/task1.c
+++ b/testsuites/tmtests/tm17/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm18/task1.c b/testsuites/tmtests/tm18/task1.c
index d3b6bb4..0087180 100644
--- a/testsuites/tmtests/tm18/task1.c
+++ b/testsuites/tmtests/tm18/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm19/task1.c b/testsuites/tmtests/tm19/task1.c
index 138cdef..5345ad9 100644
--- a/testsuites/tmtests/tm19/task1.c
+++ b/testsuites/tmtests/tm19/task1.c
@@ -11,6 +11,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm20/task1.c b/testsuites/tmtests/tm20/task1.c
index 28fe864..8ee6562 100644
--- a/testsuites/tmtests/tm20/task1.c
+++ b/testsuites/tmtests/tm20/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm21/task1.c b/testsuites/tmtests/tm21/task1.c
index fb9f14a..7451115 100644
--- a/testsuites/tmtests/tm21/task1.c
+++ b/testsuites/tmtests/tm21/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm22/task1.c b/testsuites/tmtests/tm22/task1.c
index 1332a12..612c480 100644
--- a/testsuites/tmtests/tm22/task1.c
+++ b/testsuites/tmtests/tm22/task1.c
@@ -16,6 +16,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm23/task1.c b/testsuites/tmtests/tm23/task1.c
index 318caaa..8c9ed9b 100644
--- a/testsuites/tmtests/tm23/task1.c
+++ b/testsuites/tmtests/tm23/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm24/task1.c b/testsuites/tmtests/tm24/task1.c
index a4e8a9e..be63b9b 100644
--- a/testsuites/tmtests/tm24/task1.c
+++ b/testsuites/tmtests/tm24/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm25/task1.c b/testsuites/tmtests/tm25/task1.c
index 3bf7508..35f8480 100644
--- a/testsuites/tmtests/tm25/task1.c
+++ b/testsuites/tmtests/tm25/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 1aff78d..e8922ca 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -17,6 +17,7 @@
#define CONFIGURE_INIT
#include <rtems.h>
+#include <rtems/btimer.h>
#include "system.h"
#include "fptest.h"
#include <tmacros.h>
diff --git a/testsuites/tmtests/tm27/task1.c b/testsuites/tmtests/tm27/task1.c
index 8c728db..c0f8bd1 100644
--- a/testsuites/tmtests/tm27/task1.c
+++ b/testsuites/tmtests/tm27/task1.c
@@ -21,6 +21,7 @@
#include "system.h"
#include <bsp.h>
+#include <rtems/btimer.h>
#include <rtems/score/schedulerpriorityimpl.h>
#define _RTEMS_TMTEST27
diff --git a/testsuites/tmtests/tm28/task1.c b/testsuites/tmtests/tm28/task1.c
index 2f2306b..a708092 100644
--- a/testsuites/tmtests/tm28/task1.c
+++ b/testsuites/tmtests/tm28/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tm29/task1.c b/testsuites/tmtests/tm29/task1.c
index a26b504..88ae4e6 100644
--- a/testsuites/tmtests/tm29/task1.c
+++ b/testsuites/tmtests/tm29/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tmck/task1.c b/testsuites/tmtests/tmck/task1.c
index 5cc378aa..23f66e5 100644
--- a/testsuites/tmtests/tmck/task1.c
+++ b/testsuites/tmtests/tmck/task1.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
diff --git a/testsuites/tmtests/tmoverhd/testtask.c b/testsuites/tmtests/tmoverhd/testtask.c
index 9fb2a8e..2461759 100644
--- a/testsuites/tmtests/tmoverhd/testtask.c
+++ b/testsuites/tmtests/tmoverhd/testtask.c
@@ -15,6 +15,8 @@
#include "config.h"
#endif
+#include <rtems/btimer.h>
+
#define CONFIGURE_INIT
#include "system.h"
More information about the vc
mailing list