Tweaks for avr-libc 1.2.x.
[bertos.git] / kern / sem.h
index 77bc07dd27dd5c3423221fc4710b0e24d7a0f3e4..84a4811d056d52a6ca2a0d7aa79f53db4a5954b1 100755 (executable)
  * \author Bernardo Innocenti <bernie@develer.com>
  */
 
-/*
- * $Log$
- * Revision 1.2  2004/06/03 11:27:09  bernie
- * Add dual-license information.
- *
- * Revision 1.1  2004/05/23 17:27:00  bernie
- * Import kern/ subdirectory.
- *
- */
+/*#*
+ *#* $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
+ *#*
+ *#* Revision 1.2  2004/06/03 11:27:09  bernie
+ *#* Add dual-license information.
+ *#*
+ *#* Revision 1.1  2004/05/23 17:27:00  bernie
+ *#* Import kern/ subdirectory.
+ *#*
+ *#*/
 
 #ifndef KERN_SEM_H
 #define KERN_SEM_H
 struct Process;
 
 
-struct Semaphore
+typedef struct Semaphore
 {
        struct Process *owner;
        List            wait_queue;
        int             nest_count;
-};
+} Semaphore;
 
 /*!
  * \name Process synchronization services