X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fproc.c;h=613cf58d73b1d2490f5c39b3a448caee52c23421;hb=a784017154df4320114e044c4b7eda76ea0a2a9a;hp=bfbc0c920f9fbdd0d909cdae8953c52ee7dbdf52;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/kern/proc.c b/kern/proc.c index bfbc0c92..613cf58d 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,15 @@ /* * $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. + * * Revision 1.2 2004/06/03 11:27:09 bernie * Add dual-license information. * @@ -66,9 +75,8 @@ struct Process MainProcess; static void proc_init_struct(Process* proc) { -#if CONFIG_KERN_TIMER - INITEVENT_SIG(&proc->proc_timer.expire, proc, SIG_SINGLE); -#endif + /* Avoid warning for unused argument */ + (void)proc; #if CONFIG_KERN_SIGNALS proc->sig_recv = 0;