Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi...
[bertos.git] / kern / proc.c
index b735846dff82490fdfc6ddeefffbe89ecdb43767..613cf58d73b1d2490f5c39b3a448caee52c23421 100755 (executable)
 
 /*
  * $Log$
+ * Revision 1.5  2004/07/14 14:18:09  rasky
+ * Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
+ *
+ * Revision 1.4  2004/07/13 19:21:28  aleph
+ * Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options
+ *
  * Revision 1.3  2004/06/06 18:37:57  bernie
  * Rename event macros to look like regular functions.
  *
@@ -69,9 +75,8 @@ struct Process MainProcess;
 
 static void proc_init_struct(Process* proc)
 {
-#if CONFIG_KERN_TIMER
-       event_initSignal(&proc->proc_timer.expire, proc, SIG_SINGLE);
-#endif
+       /* Avoid warning for unused argument */
+       (void)proc;
 
 #if CONFIG_KERN_SIGNALS
        proc->sig_recv = 0;