From 85369ea443b36d4d580a8861eb1e2315be28bf6a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 15 May 2022 21:02:08 +0200 Subject: [PATCH] Remove static keyword --- window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/window.c b/window.c index f2286d1..6fbacbb 100644 --- a/window.c +++ b/window.c @@ -5,7 +5,7 @@ int dimensions[] = {1280, 720}; // Animations -static GL4DHanime animations[] = { +GL4DHanime animations[] = { { 5000, cube, NULL, NULL }, { 2500, cube, cube2, fondu }, { 5000, cube2, NULL, NULL }, @@ -13,7 +13,7 @@ static GL4DHanime animations[] = { }; // Comportement à la fermeture du programme -static void fermeture(void); +void fermeture(void); int main(int argc, char *argv[]) { if(!gl4duwCreateWindow(argc, argv, "Démo Anri KENNEL", 10, 10, dimensions[0], dimensions[1], GL4DW_SHOWN)) {