summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-14 23:32:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-14 23:32:25 +0000
commita50b011f70689af8b6d8a4192aae48e760451bc7 (patch)
tree70102dcda31fdc633a3a0e994bb4bbf5121e3828 /cpukit/score
parent2002-08-14 Brett Swimley <brett.swimley@aedinc.net> (diff)
downloadrtems-a50b011f70689af8b6d8a4192aae48e760451bc7.tar.bz2
2002-08-14 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/coremsg.inl: Add <string.h> to remove warning. * src/threadidlebody.c: Add return 0 to avoid warning.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/ChangeLog5
-rw-r--r--cpukit/score/macros/rtems/score/coremsg.inl2
-rw-r--r--cpukit/score/src/threadidlebody.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog
index 60ac1bd870..b355eb76cf 100644
--- a/cpukit/score/ChangeLog
+++ b/cpukit/score/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-14 Joel Sherrill <joel@OARcorp.com>
+
+ * macros/rtems/score/coremsg.inl: Add <string.h> to remove warning.
+ * src/threadidlebody.c: Add return 0 to avoid warning.
+
2002-08-07 Chris Johns <ccj@acm.org>
* src/coretodset.c: Correct calculation of ticks until next section
diff --git a/cpukit/score/macros/rtems/score/coremsg.inl b/cpukit/score/macros/rtems/score/coremsg.inl
index c37c307287..8ebbf11fd5 100644
--- a/cpukit/score/macros/rtems/score/coremsg.inl
+++ b/cpukit/score/macros/rtems/score/coremsg.inl
@@ -16,6 +16,8 @@
#ifndef __CORE_MESSAGE_QUEUE_inl
#define __CORE_MESSAGE_QUEUE_inl
+#include <string.h> /* for memcpy */
+
/*PAGE
*
* _CORE_message_queue_Send
diff --git a/cpukit/score/src/threadidlebody.c b/cpukit/score/src/threadidlebody.c
index 93b90a12cd..483d5d701f 100644
--- a/cpukit/score/src/threadidlebody.c
+++ b/cpukit/score/src/threadidlebody.c
@@ -46,5 +46,6 @@ Thread _Thread_Idle_body(
)
{
for( ; ; ) ;
+ return 0; /* to avoid warning */
}
#endif