Add bitarray test. Fixes and add dump function.
[bertos.git] / bertos / mware / event.h
index ab8afe039e0f05febe706ce95bf52d0bc99e7744..86ec620fc2a179c2be6cf4a3e352f91581472a2b 100644 (file)
@@ -35,7 +35,6 @@
  * This module implements a common system for executing
  * a user defined action calling a hook function.
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
 #define KERN_EVENT_H
 
 #include <cfg/compiler.h>
-#include "cfg/cfg_kern.h"
+#include "cfg/cfg_proc.h"
+#include "cfg/cfg_signal.h"
 
-#if CONFIG_KERNEL
+#if CONFIG_KERN
        #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
                #include <kern/signal.h>
        #endif
@@ -109,10 +109,6 @@ INLINE Event event_createSoftint(Hook func, void *user_data)
        return e;
 }
 
-// OBSOLETE names
-#define event_createSoftInt event_createSoftint
-#define event_initSoftInt event_initSoftint
-
 #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
 
 /** Initialize the event \a e with a signal (send signal \a s to process \a p) */