Ver código fonte

testing arrays

tarfeef101 6 anos atrás
pai
commit
6dee15cb70
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      kern/synchprobs/traffic_synch.c

+ 1 - 1
kern/synchprobs/traffic_synch.c

@@ -20,7 +20,7 @@ car ** active = NULL;
 
 // all of our offset arrays
 int dirs[4] = {0, 3, 6, 9};
-int northa[4] = {0, 0, 1, 2;
+int northa[4] = {0, 0, 1, 2};
 int easta[4] = {2, 0, 0, 1};
 int southa[4] = {1, 2, 0, 0};
 int westa[4] = {0, 1, 2, 0};