summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-25 14:19:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-25 14:19:45 +0000
commit7fb2bb243357f7a3d50b1a04b6c1a1e0f29ca454 (patch)
treebb4ea7ee7eeff7ffcc5fefebe5d70fb6b956d3c8
parent2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-7fb2bb243357f7a3d50b1a04b6c1a1e0f29ca454.tar.bz2
2006-09-14 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/route.c, librpc/src/rpc/auth_none.c, librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c, librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c, librpc/src/rpc/rtems_portmapper.c: Removed warnings.
-rw-r--r--cpukit/ChangeLog7
-rw-r--r--cpukit/sapi/include/confdefs.h18
-rw-r--r--cpukit/sapi/src/posixapi.c8
3 files changed, 25 insertions, 8 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 3f45e2e9bc..67271937e8 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * libnetworking/net/route.c, librpc/src/rpc/auth_none.c,
+ librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c,
+ librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c,
+ librpc/src/rpc/rtems_portmapper.c: Removed warnings.
+
2006-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h, sapi/src/posixapi.c, sapi/src/rtemsapi.c:
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 3856c5b047..8fa3f62e65 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -569,15 +569,15 @@ rtems_extensions_table Configuration_Initial_Extensions[] = {
#include <signal.h>
#include <limits.h>
#include <mqueue.h>
-#include <rtems/posix/barrier.h>
+/* #include <rtems/posix/barrier.h> */
#include <rtems/posix/cond.h>
#include <rtems/posix/mqueue.h>
#include <rtems/posix/mutex.h>
#include <rtems/posix/key.h>
#include <rtems/posix/psignal.h>
-#include <rtems/posix/rwlock.h>
+/* #include <rtems/posix/rwlock.h> */
#include <rtems/posix/semaphore.h>
-#include <rtems/posix/spinlock.h>
+/* #include <rtems/posix/spinlock.h> */
#include <rtems/posix/threadsup.h>
#include <rtems/posix/timer.h>
@@ -705,8 +705,13 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = {
CONFIGURE_OBJECT_TABLE_STUFF + \
NAME_MAX ) )
-#define CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(_semaphores) \
- ((_semaphores) * \
+#define CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(_barriers) 0
+#define CONFIGURE_MEMORY_FOR_POSIX_SPINLOCKS(_spinlocks) 0
+#define CONFIGURE_MEMORY_FOR_POSIX_RWLOCKS(_rwlocks) 0
+
+#if 0
+#define CONFIGURE_MEMORY_FOR_POSIX_BARRIERS(_barriers) \
+ ((_barriers) * \
( sizeof( POSIX_Barrier_Control) + \
CONFIGURE_OBJECT_TABLE_STUFF + \
NAME_MAX ) )
@@ -722,6 +727,7 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = {
( sizeof( POSIX_RWLock_Control) + \
CONFIGURE_OBJECT_TABLE_STUFF + \
NAME_MAX ) )
+#endif
#define CONFIGURE_MEMORY_FOR_POSIX \
( \
@@ -1151,9 +1157,11 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS,
CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES,
CONFIGURE_MAXIMUM_POSIX_SEMAPHORES,
+#if 0
CONFIGURE_MAXIMUM_POSIX_BARRIERS,
CONFIGURE_MAXIMUM_POSIX_RWLOCKS,
CONFIGURE_MAXIMUM_POSIX_SPINLOCKS,
+#endif
CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
};
diff --git a/cpukit/sapi/src/posixapi.c b/cpukit/sapi/src/posixapi.c
index 843716edeb..f7c8eebf1a 100644
--- a/cpukit/sapi/src/posixapi.c
+++ b/cpukit/sapi/src/posixapi.c
@@ -33,7 +33,7 @@
#include <mqueue.h>
#include <rtems/config.h>
#include <rtems/score/object.h>
-#include <rtems/posix/barrier.h>
+/* #include <rtems/posix/barrier.h> */
#include <rtems/posix/cond.h>
#include <rtems/posix/config.h>
#include <rtems/posix/key.h>
@@ -42,10 +42,10 @@
#include <rtems/posix/priority.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
-#include <rtems/posix/rwlock.h>
+/* #include <rtems/posix/rwlock.h> */
#include <rtems/posix/timer.h>
#include <rtems/posix/semaphore.h>
-#include <rtems/posix/spinlock.h>
+/* #include <rtems/posix/spinlock.h> */
#include <rtems/posix/time.h>
/*PAGE
@@ -65,9 +65,11 @@ posix_api_configuration_table _POSIX_Default_configuration = {
0, /* number_of_initialization_threads */
0, /* maximum_message_queues */
0, /* maximum_semaphores */
+#if 0
0, /* maximum_barriers */
0, /* maximum_spinlocks */
0, /* maximum_rwlocks */
+#endif
NULL /* User_initialization_threads_table */
};