diff --git a/.gitignore b/.gitignore index bf9cabf58618524334c75cdb596180dab3bc7b0f..c6127b38c1aa25968a88db3940604d41529e4cf5 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 7bc609693eb997f86609b6aa55281e7ef742552c..64ed7be5008de25b430b500c75e92f30fb973b8c 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 6649abea36aec184033ada3c294d59691b3c20b3..9f0282813f9a049745484cc3cabfed99386f52a2 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 24b2c11777437ca3976f0efb96ba712da105e300..2fc55ac83ca77eea847e4ce4fe901959400c4b6e 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