From: lottaviano Date: Tue, 17 May 2011 14:08:06 +0000 (+0000) Subject: Fix compilation issues in sem_test. X-Git-Tag: 2.7.0~56 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=04587b206ab5dabb01af540a02205b336488b08d;p=bertos.git Fix compilation issues in sem_test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4910 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/kern/sem_test.c b/bertos/kern/sem_test.c index 161023d5..e304dc37 100644 --- a/bertos/kern/sem_test.c +++ b/bertos/kern/sem_test.c @@ -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. */