Fix compilation issues in sem_test.
[bertos.git] / bertos / kern / sem_test.c
index 161023d5c0d13b1556be8ccc6a0a8c36f9b1d824..e304dc37b8cf904039cf9cf68e935710a08212c4 100644 (file)
@@ -152,7 +152,7 @@ Semaphore s1, s2;
 unsigned int loops = 0;        // For counting iterations
 int finishing_time[8];
 
-enum ProcType {NONE, S1, S2, S1S2};
+typedef enum ProcType {NONE, S1, S2, S1S2} ProcType;
 /*
  * Macros for the processes of the priority inversion test.
  */