Skip to content
Snippets Groups Projects
Commit d57ab365 authored by costanti.volta's avatar costanti.volta :tophat:
Browse files

Changed fa.tail->data to fa.head->data and vice-verse lines 316, 317

parent e174cc7e
No related branches found
No related tags found
No related merge requests found
...@@ -313,8 +313,8 @@ typedef struct _queue { // File d'attente: ...@@ -313,8 +313,8 @@ typedef struct _queue { // File d'attente:
```C ```C
void queue_init(queue *fa); // head = tail = NULL void queue_init(queue *fa); // head = tail = NULL
bool queue_is_empty(queue fa); // fa.head == fa.tail == NULL bool queue_is_empty(queue fa); // fa.head == fa.tail == NULL
int queue_tail(queue fa); // return fa.head->data int queue_tail(queue fa); // return fa.tail->data
int queue_head(queue fa); // return fa.tail->data int queue_head(queue fa); // return fa.head->data
``` ```
## Manipulations et destruction ## Manipulations et destruction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment