Archived
1
0
Fork 0

queue: changed the ADT abit.

This commit is contained in:
H Hautakoski 2010-09-09 07:47:57 +02:00 committed by Henrik Hautakoski
parent 1ce3172734
commit c967a59706
3 changed files with 18 additions and 18 deletions

View file

@ -6,7 +6,7 @@
int main() {
int i, map[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
queue_t *q = init_queue();
queue_t q = init_queue();
for(i=0; i < 10; i++)
queue_enqueue(q, &map[i]);