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
|
//This struct helps by using a struct to simplify timing a program in C
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef STOPWATCH_H
|
||||||
|
#define STOPWATCH_H
|
||||||
|
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -135,3 +139,6 @@ char* getStr(struct Stopwatch* timer){
|
|||||||
|
|
||||||
return num;
|
return num;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif //STOPWATCH_H
|
||||||
|
|||||||
Reference in New Issue
Block a user