From 7eac467303f522dcdf69d438edcab53183183284 Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Fri, 8 Mar 2019 22:36:01 -0500 Subject: [PATCH] Added include guards --- Stopwatch.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Stopwatch.h b/Stopwatch.h index dbe0429..6aa341a 100644 --- a/Stopwatch.h +++ b/Stopwatch.h @@ -5,6 +5,10 @@ //This struct helps by using a struct to simplify timing a program in C +#ifndef STOPWATCH_H +#define STOPWATCH_H + + #include #include #include @@ -134,4 +138,7 @@ char* getStr(struct Stopwatch* timer){ } return num; -} \ No newline at end of file +} + + +#endif //STOPWATCH_H