ソースを参照

typdef doesn't work backwards :(

tarfeef101 7 年 前
コミット
c82604314b
1 ファイル変更2 行追加2 行削除
  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