Remove cast-as-lvalue extension abuse
[bertos.git] / kern / proc.c
index a11e4985774ce4c05d1763972a50564082ec411a..b735846dff82490fdfc6ddeefffbe89ecdb43767 100755 (executable)
@@ -1,9 +1,9 @@
-/**
+/*!
  * \file
  * <!--
  * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
  * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
- * All Rights Reserved.
+ * This file is part of DevLib - See devlib/README for information.
  * -->
  *
  * \brief Simple realtime multitasking scheduler.
 
 /*
  * $Log$
+ * Revision 1.3  2004/06/06 18:37:57  bernie
+ * Rename event macros to look like regular functions.
+ *
+ * Revision 1.2  2004/06/03 11:27:09  bernie
+ * Add dual-license information.
+ *
  * Revision 1.1  2004/05/23 17:27:00  bernie
  * Import kern/ subdirectory.
  *
@@ -64,7 +70,7 @@ struct Process MainProcess;
 static void proc_init_struct(Process* proc)
 {
 #if CONFIG_KERN_TIMER
-       INITEVENT_SIG(&proc->proc_timer.expire, proc, SIG_SINGLE);
+       event_initSignal(&proc->proc_timer.expire, proc, SIG_SINGLE);
 #endif
 
 #if CONFIG_KERN_SIGNALS