[examples-v2 commit] Fix configuration warnings
Sebastian Huber
sebh at rtems.org
Thu Oct 12 11:03:33 UTC 2017
Module: examples-v2
Branch: master
Commit: 4b907ce1888864b5f311e99606d42493ea8ef96a
Changeset: http://git.rtems.org/examples-v2/commit/?id=4b907ce1888864b5f311e99606d42493ea8ef96a
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Oct 12 13:02:51 2017 +0200
Fix configuration warnings
Update #3158.
---
led/complex1/main.cc | 2 --
led/posix_cond_server/test.c | 2 --
led/posix_mutex_server/test.c | 1 -
led/ratemon_cond_server/test.c | 2 --
posix_api/psx_example_1/test1.c | 2 --
posix_api/psx_example_2/test2.c | 2 --
posix_api/psx_example_3/test3.c | 2 --
7 files changed, 13 deletions(-)
diff --git a/led/complex1/main.cc b/led/complex1/main.cc
index 52b8d1c..e60e4eb 100644
--- a/led/complex1/main.cc
+++ b/led/complex1/main.cc
@@ -49,8 +49,6 @@ int main(
#define CONFIGURE_MAXIMUM_TASKS 102
#define CONFIGURE_MAXIMUM_PERIODS 100
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
- #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 2
- #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 2
#define CONFIGURE_EXTRA_TASK_STACKS (32 * 1024)
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
diff --git a/led/posix_cond_server/test.c b/led/posix_cond_server/test.c
index 61da7e2..a722c19 100644
--- a/led/posix_cond_server/test.c
+++ b/led/posix_cond_server/test.c
@@ -83,8 +83,6 @@ void *POSIX_Init(
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1
-#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 1
#define CONFIGURE_INIT
diff --git a/led/posix_mutex_server/test.c b/led/posix_mutex_server/test.c
index 0e39cbb..8742d34 100644
--- a/led/posix_mutex_server/test.c
+++ b/led/posix_mutex_server/test.c
@@ -98,7 +98,6 @@ void *POSIX_Init(
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1
#define CONFIGURE_INIT
diff --git a/led/ratemon_cond_server/test.c b/led/ratemon_cond_server/test.c
index ef199a4..27c8a9f 100644
--- a/led/ratemon_cond_server/test.c
+++ b/led/ratemon_cond_server/test.c
@@ -100,8 +100,6 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PERIODS 1
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1
-#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 1
#define CONFIGURE_INIT
diff --git a/posix_api/psx_example_1/test1.c b/posix_api/psx_example_1/test1.c
index a7f6fff..e92f6da 100644
--- a/posix_api/psx_example_1/test1.c
+++ b/posix_api/psx_example_1/test1.c
@@ -35,8 +35,6 @@ void *POSIX_Init()
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
-#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
diff --git a/posix_api/psx_example_2/test2.c b/posix_api/psx_example_2/test2.c
index 8fc0ccc..ec91b1b 100644
--- a/posix_api/psx_example_2/test2.c
+++ b/posix_api/psx_example_2/test2.c
@@ -39,8 +39,6 @@ int *POSIX_Init()
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
-#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_INIT
diff --git a/posix_api/psx_example_3/test3.c b/posix_api/psx_example_3/test3.c
index d385018..d4d258b 100644
--- a/posix_api/psx_example_3/test3.c
+++ b/posix_api/psx_example_3/test3.c
@@ -75,8 +75,6 @@ void *POSIX_Init()
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
-#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10
-#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_INIT
More information about the vc
mailing list