X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fkern%2Fmonitor.c;h=362bb82dd2a077f12d1e97f8423bb7c3ec052e5d;hb=19e8a3eae634fead9c233f0c33adfb24c06365d4;hp=14fac07b7323a007b9e67c773fceea932e5fe5aa;hpb=dc9c2e09cf5e9837cdd3106c57db749301c5bf95;p=bertos.git diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index 14fac07b..362bb82d 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -26,14 +26,13 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2004 Develer S.r.l. (http://www.develer.com/) + * Copyright 2004, 2008 Develer S.r.l. (http://www.develer.com/) * * --> * * \brief Monitor to check for stack overflows * * \version $Id$ - * * \author Giovanni Bajo */ @@ -67,7 +66,7 @@ void monitor_add(Process *proc, const char *name) } -void monitor_remove(Process* proc) +void monitor_remove(Process *proc) { REMOVE(&proc->monitor.link); } @@ -83,9 +82,9 @@ void monitor_rename(Process *proc, const char *name) size_t monitor_checkStack(cpustack_t *stack_base, size_t stack_size) { - cpustack_t* beg; - cpustack_t* cur; - cpustack_t* end; + cpustack_t *beg; + cpustack_t *cur; + cpustack_t *end; size_t sp_free; beg = stack_base;