From d57ab365df9f141c632a00bc72f7ee0dadc361ae Mon Sep 17 00:00:00 2001
From: "costanti.volta" <costantino.volta@etu.hesge.ch>
Date: Mon, 19 Feb 2024 19:41:49 +0100
Subject: [PATCH] Changed fa.tail->data to fa.head->data and vice-verse lines
 316, 317

---
 slides/cours_11.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slides/cours_11.md b/slides/cours_11.md
index 6f3c875..4a68ab3 100644
--- a/slides/cours_11.md
+++ b/slides/cours_11.md
@@ -313,8 +313,8 @@ typedef struct _queue {    // File d'attente:
 ```C
 void queue_init(queue *fa); // head = tail = NULL
 bool queue_is_empty(queue fa); // fa.head == fa.tail == NULL
-int queue_tail(queue fa); // return fa.head->data
-int queue_head(queue fa); // return fa.tail->data
+int queue_tail(queue fa); // return fa.tail->data
+int queue_head(queue fa); // return fa.head->data
 ```
 
 ## Manipulations et destruction
-- 
GitLab