diff --git a/include/consumer.h b/include/consumer.h index e69de29..cdecfcc 100644 --- a/include/consumer.h +++ b/include/consumer.h @@ -0,0 +1,6 @@ +#ifndef CONSUMER_H +#define CONSUMER_H + +void Consumer(void); + +#endif \ No newline at end of file diff --git a/include/producer.h b/include/producer.h index e69de29..508193a 100644 --- a/include/producer.h +++ b/include/producer.h @@ -0,0 +1,6 @@ +#ifndef PRODUCER_H +#define PRODUCER_H + +void Producer(void); + +#endif \ No newline at end of file diff --git a/src/consumer.c b/src/consumer.c index 4ca6817..c1b518d 100644 --- a/src/consumer.c +++ b/src/consumer.c @@ -1,4 +1,6 @@ -void consumer(void) +#include "consumer.h" + +void Consumer(void) { ; } \ No newline at end of file diff --git a/src/producer.c b/src/producer.c index 1478cbb..2354032 100644 --- a/src/producer.c +++ b/src/producer.c @@ -1,4 +1,6 @@ -void producer(void) +#include "producer.h" + +void Producer(void) { ; } \ No newline at end of file