mirror of
https://bitbucket.org/Mattrixwv/myhelpers.git
synced 2025-12-06 18:43:59 -05:00
Added include guards
This commit is contained in:
@@ -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 <time.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
@@ -134,4 +138,7 @@ char* getStr(struct Stopwatch* timer){
|
||||
}
|
||||
|
||||
return num;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif //STOPWATCH_H
|
||||
|
||||
Reference in New Issue
Block a user