[PATCH 21/23] monitor: Avoid unused function

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 6 12:56:43 UTC 2012


---
 cpukit/libmisc/monitor/mon-object.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpukit/libmisc/monitor/mon-object.c b/cpukit/libmisc/monitor/mon-object.c
index fd29979..fd2b20f 100644
--- a/cpukit/libmisc/monitor/mon-object.c
+++ b/cpukit/libmisc/monitor/mon-object.c
@@ -184,6 +184,7 @@ rtems_monitor_object_lookup(
     return 0;
 }
 
+#if defined(RTEMS_MULTIPROCESSING)
 static rtems_id
 rtems_monitor_object_canonical_next_remote(
     rtems_monitor_object_type_t type,
@@ -223,6 +224,7 @@ failed:
     return RTEMS_OBJECT_ID_FINAL;
 
 }
+#endif
 
 
 rtems_id
-- 
1.7.7




More information about the devel mailing list