From 64a3e9b44fc4b43a0f69fc580ad8c8d76067f751 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 9 Feb 2009 11:35:46 +0000 Subject: [PATCH] Reformat. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2327 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/monitor.c | 10 ++++++---- bertos/kern/sem.c | 5 +++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index 26e2025b..5995fc53 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -42,18 +42,20 @@ #if CONFIG_KERN_MONITOR #include "proc_p.h" +#include +#include + #include + #include + #include -#include /* CPU_STACK_GROWS_UPWARD */ -#include -#include +#include /* CPU_STACK_GROWS_UPWARD */ /* Access to this list must be protected against the scheduler */ static List MonitorProcs; - void monitor_init(void) { LIST_INIT(&MonitorProcs); diff --git a/bertos/kern/sem.c b/bertos/kern/sem.c index 7d07f4d6..ac4e7d96 100644 --- a/bertos/kern/sem.c +++ b/bertos/kern/sem.c @@ -37,11 +37,13 @@ */ #include "sem.h" +#include + #include // ASSERT_IRQ_DISABLED() + #include #include #include -#include INLINE void sem_verify(struct Semaphore *s) { @@ -52,7 +54,6 @@ INLINE void sem_verify(struct Semaphore *s) ASSERT(s->nest_count < 128); // heuristic max } - /** * \brief Initialize a Semaphore structure. */ -- 2.25.1