Fix compilation issues in sem_test.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 17 May 2011 14:08:06 +0000 (14:08 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 17 May 2011 14:08:06 +0000 (14:08 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4910 38d2e660-2303-0410-9eaa-f027e97ec537

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.
  */