From 6a9e5728583129dd5e89bd1ab0d6cf468bf388a8 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 17 Aug 2008 15:44:13 +0000 Subject: [PATCH] event_initSoftint(): rename from event_initSoftInt() git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1647 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/mware/event.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bertos/mware/event.h b/bertos/mware/event.h index f233c294..ab8afe03 100644 --- a/bertos/mware/event.h +++ b/bertos/mware/event.h @@ -28,7 +28,6 @@ * * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/) * Copyright 1999, 2001, 2003 Bernie Innocenti - * * --> * * \brief Events handling @@ -37,7 +36,6 @@ * a user defined action calling a hook function. * * \version $Id$ - * * \author Bernie Innocenti */ @@ -98,11 +96,11 @@ INLINE Event event_createNone(void) } /** Initialize the event \a e with a software interrupt (call function \a f, with parameter \a u) */ -#define event_initSoftInt(e,f,u) \ +#define event_initSoftint(e,f,u) \ ((e)->action = event_hook_softint,(e)->Ev.Int.func = (f), (e)->Ev.Int.user_data = (u)) -/** Same as event_initSoftInt(), but returns the initialized event */ -INLINE Event event_createSoftInt(Hook func, void *user_data) +/** Same as event_initSoftint(), but returns the initialized event */ +INLINE Event event_createSoftint(Hook func, void *user_data) { Event e; e.action = event_hook_softint; @@ -111,6 +109,9 @@ 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 -- 2.25.1