X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fevent.h;h=86ec620fc2a179c2be6cf4a3e352f91581472a2b;hb=8ba40b07b125a53d66052fa6a00d902f47bf0905;hp=ab8afe039e0f05febe706ce95bf52d0bc99e7744;hpb=6a9e5728583129dd5e89bd1ab0d6cf468bf388a8;p=bertos.git diff --git a/bertos/mware/event.h b/bertos/mware/event.h index ab8afe03..86ec620f 100644 --- a/bertos/mware/event.h +++ b/bertos/mware/event.h @@ -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 */ @@ -43,9 +42,10 @@ #define KERN_EVENT_H #include -#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 #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) */