diff --git a/firmware/include/time.h b/firmware/include/time.h index e3517e725b..5213468662 100644 --- a/firmware/include/time.h +++ b/firmware/include/time.h @@ -1,33 +1,12 @@ /* * time.h * - * Struct and function declarations for dealing with time. + * Struct declaration for dealing with time. */ #ifndef _TIME_H_ #define _TIME_H_ -#include "_ansi.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef NULL -#define NULL 0 -#endif - -#ifndef _CLOCKS_PER_SEC_ -#define _CLOCKS_PER_SEC_ 1000 -#endif - -#define CLOCKS_PER_SEC _CLOCKS_PER_SEC_ -#define CLK_TCK CLOCKS_PER_SEC -#define __need_size_t -#include - -#include - struct tm { int tm_sec; @@ -41,8 +20,5 @@ struct tm int tm_isdst; }; -#ifdef __cplusplus -} -#endif #endif /* _TIME_H_ */