[rtems-schedsim commit] schedsim_smpsimple: Fix warnings.

Jennifer Averett jennifer at rtems.org
Tue May 20 16:34:24 UTC 2014


Module:    rtems-schedsim
Branch:    master
Commit:    2ba4b251d65952ec3aaafc4d69c17b889cd7b5f2
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=2ba4b251d65952ec3aaafc4d69c17b889cd7b5f2

Author:    Jennifer Averett <jennifer.averett at oarcorp.com>
Date:      Tue May 20 11:40:44 2014 -0500

schedsim_smpsimple: Fix warnings.

---

 .../shell/schedsim_smpsimple/main_current_cpu.c    |    1 +
 schedsim/shell/schedsim_smpsimple/main_dispatch.c  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/schedsim/shell/schedsim_smpsimple/main_current_cpu.c b/schedsim/shell/schedsim_smpsimple/main_current_cpu.c
index 5a93a5f..8a4a6cc 100644
--- a/schedsim/shell/schedsim_smpsimple/main_current_cpu.c
+++ b/schedsim/shell/schedsim_smpsimple/main_current_cpu.c
@@ -19,6 +19,7 @@
 #include <rtems.h>
 #include <rtems/score/percpu.h>
 #include <rtems/score/schedulerpriority.h>
+#include <rtems/stringto.h>
 
 extern uint32_t Schedsim_Current_cpu;
 
diff --git a/schedsim/shell/schedsim_smpsimple/main_dispatch.c b/schedsim/shell/schedsim_smpsimple/main_dispatch.c
index bbd4e1a..88c3856 100644
--- a/schedsim/shell/schedsim_smpsimple/main_dispatch.c
+++ b/schedsim/shell/schedsim_smpsimple/main_dispatch.c
@@ -20,6 +20,7 @@
 #include <rtems/score/percpu.h>
 #include <rtems/score/smp.h>
 #include <rtems/score/schedulersimplesmp.h>
+#include <rtems/score/threaddispatch.h>
 
 extern uint32_t Schedsim_Current_cpu;
 




More information about the vc mailing list