From 81db20a28b54141e629049b5b55b8dd1c9a804f3 Mon Sep 17 00:00:00 2001 From: bernie Date: Sat, 22 Jan 2005 04:21:20 +0000 Subject: [PATCH] Add handy typedef for struct Semaphore. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@348 38d2e660-2303-0410-9eaa-f027e97ec537 --- kern/sem.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kern/sem.h b/kern/sem.h index b4b0ecbb..84a4811d 100755 --- a/kern/sem.h +++ b/kern/sem.h @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/01/22 04:21:20 bernie + *#* Add handy typedef for struct Semaphore. + *#* *#* Revision 1.3 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -37,12 +40,12 @@ struct Process; -struct Semaphore +typedef struct Semaphore { struct Process *owner; List wait_queue; int nest_count; -}; +} Semaphore; /*! * \name Process synchronization services -- 2.25.1