Add integrity checks.
[bertos.git] / kern / sem.h
index b4b0ecbb8b372002419f967d39912d0c6171c4a4..84a4811d056d52a6ca2a0d7aa79f53db4a5954b1 100755 (executable)
@@ -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
  *#*
 struct Process;
 
 
-struct Semaphore
+typedef struct Semaphore
 {
        struct Process *owner;
        List            wait_queue;
        int             nest_count;
-};
+} Semaphore;
 
 /*!
  * \name Process synchronization services