Skip to content
Snippets Groups Projects
Commit cd579afc authored by gaetan.siffert's avatar gaetan.siffert
Browse files

Update queue.c

parent 9515f6e6
No related branches found
No related tags found
1 merge request!13Add queue_init
...@@ -9,5 +9,4 @@ void queue_init(queue *q) ...@@ -9,5 +9,4 @@ void queue_init(queue *q)
q->capacity = -1; q->capacity = -1;
q->tail = -1; q->tail = -1;
q->data = malloc(sizeof(int)); q->data = malloc(sizeof(int));
return q; }
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment