Explorar o código

typdef doesn't work backwards :(

tarfeef101 %!s(int64=7) %!d(string=hai) anos
pai
achega
c82604314b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      kern/synchprobs/traffic_synch.c

+ 2 - 2
kern/synchprobs/traffic_synch.c

@@ -30,8 +30,8 @@ typedef struct car
   Direction origin;
   Direction dest;
   bool old;
-  car * next;
-  cv * cv;
+  struct car * next;
+  sruct cv * cv;
 } car;
 
 typedef struct list