Refactor to use new protocol module and sipo.
[bertos.git] / bertos / mware / observer.c
index c55660867b4ce911cc0196957a93538ec0aede50..6049b5601b254f917c1779026bb5f42c191fa935 100644 (file)
@@ -32,7 +32,6 @@
  *
  * \brief Simple notifier for the observer/subject pattern (implementation)
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
@@ -63,7 +62,7 @@ void observer_Unsubscribe(UNUSED_ARG(Subject *,subject), Observer *observer)
 void observer_notify(Subject *subject, int event_id, void *param)
 {
        Observer *observer;
-       cpuflags_t irqstate;
+       cpu_flags_t irqstate;
        IRQ_SAVE_DISABLE(irqstate);
 
        /*