From 42075900127170304d7b258982f343fae910650c Mon Sep 17 00:00:00 2001
From: "yassin.elhakoun" <yassin.el-hakouni@etu.hesge.ch>
Date: Tue, 12 Dec 2023 10:42:08 +0100
Subject: [PATCH] Update cours_11.md (Fonction void qui retournait un int)

---
 slides/cours_11.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/cours_11.md b/slides/cours_11.md
index 63be99a..73689f4 100644
--- a/slides/cours_11.md
+++ b/slides/cours_11.md
@@ -216,7 +216,7 @@ void stack_peek(stack s, int *val) {
 . . .
 
 ```C
-void stack_pop(stack *s, int *val) {
+int stack_pop(stack *s, int *val) {
     stack_peek(*s, val);
     element *tmp = *s;
     *s = (*s)->next;
-- 
GitLab