From a2b1260fdc9092cc70f5b1ef760104c09d4f325a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 15 Feb 2018 16:30:14 +0100 Subject: [PATCH] Remove a warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- philosophe/philosophe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/philosophe/philosophe.c b/philosophe/philosophe.c index 72b740e..476d124 100644 --- a/philosophe/philosophe.c +++ b/philosophe/philosophe.c @@ -12,7 +12,7 @@ // fourchette droite du philosophe i #define libre 1 #define occupe 0 -int fourch[N] = { libre, libre, libre, libre, libre }; +static int fourch[N] = { libre, libre, libre, libre, libre }; sem_t mutex; -- 2.34.1