From: bernie Date: Sat, 22 Jan 2005 04:21:20 +0000 (+0000) Subject: Add handy typedef for struct Semaphore. X-Git-Tag: 1.0.0~893 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=81db20a28b54141e629049b5b55b8dd1c9a804f3;p=bertos.git Add handy typedef for struct Semaphore. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@348 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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