From fa02f94658204b1351c877c5c264f84259a6480b Mon Sep 17 00:00:00 2001
From: Tom Ryser <rysertom@gmail.com>
Date: Wed, 24 Nov 2021 10:41:46 +0100
Subject: [PATCH] #3 removed useless function

---
 .gitignore      | 1 +
 Sources/main.c  | 3 +--
 Sources/stack.c | 6 +-----
 include/stack.h | 7 ++-----
 4 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/.gitignore b/.gitignore
index bf9cabf..c6127b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,6 +18,7 @@
 
 # Libraries
 *.lib
+*.a
 *.la
 *.lo
 
diff --git a/Sources/main.c b/Sources/main.c
index 7bc6096..64ed7be 100644
--- a/Sources/main.c
+++ b/Sources/main.c
@@ -1,7 +1,6 @@
 #include <stdio.h>
-#include "../include/pile.h"
+#include "../include/stack.h"
 
 int main(void) {
-	helloworld();
 	return 0;
 }
\ No newline at end of file
diff --git a/Sources/stack.c b/Sources/stack.c
index 6649abe..9f02828 100644
--- a/Sources/stack.c
+++ b/Sources/stack.c
@@ -1,6 +1,2 @@
-#include "../include/pile.h"
+#include "../include/stack.h"
 #include <stdio.h>
-
-void helloworld(){
-	printf("helloworld\n");
-}
\ No newline at end of file
diff --git a/include/stack.h b/include/stack.h
index 24b2c11..2fc55ac 100644
--- a/include/stack.h
+++ b/include/stack.h
@@ -1,7 +1,4 @@
-#ifndef PILE_H
-#define PILE_H
-
-void helloworld();
-
+#ifndef STACK_H
+#define STACK_H
 
 #endif
\ No newline at end of file
-- 
GitLab